Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008473/0.008473, allocations: 171.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7499/0.7499, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 223.2 MB / 406.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 100.4 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.000474, allocations: 12 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5104/0.5109, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.044/1.555, allocations: 374.6 MB / 1.015 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004571/1.555, allocations: 100.2 kB / 1.015 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.041/2.597, allocations: 248 MB / 1.258 GB, free: 67.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.813e-06/2.597, allocations: 0 / 1.258 GB, free: 67.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.878e-05/2.597, allocations: 39.92 kB / 1.258 GB, free: 67.04 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002623/2.599, allocations: 1.422 MB / 1.259 GB, free: 65.56 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/2.599, allocations: 12.03 kB / 1.259 GB, free: 65.55 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/2.6, allocations: 126.5 kB / 1.259 GB, free: 65.42 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004039/2.6, allocations: 138.5 kB / 1.259 GB, free: 65.28 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01725/2.617, allocations: 7.842 MB / 1.267 GB, free: 57.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.374e-05/2.617, allocations: 58 kB / 1.267 GB, free: 57.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/2.618, allocations: 76 kB / 1.267 GB, free: 57.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/2.619, allocations: 0.9785 MB / 1.268 GB, free: 56.17 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/2.619, allocations: 7.906 kB / 1.268 GB, free: 56.16 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.572e-05/2.619, allocations: 35.95 kB / 1.268 GB, free: 56.13 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.624e-05/2.619, allocations: 20 kB / 1.268 GB, free: 56.11 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009173/2.62, allocations: 0.6908 MB / 1.269 GB, free: 55.42 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004867/2.625, allocations: 4.546 MB / 1.273 GB, free: 50.53 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004618/2.626, allocations: 388.1 kB / 1.274 GB, free: 50.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003406/2.626, allocations: 425.8 kB / 1.274 GB, free: 49.63 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/2.626, allocations: 42.89 kB / 1.274 GB, free: 49.58 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=40): time 2.715e-06/2.626, allocations: 0 / 1.274 GB, free: 49.58 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.0015/2.628, allocations: 0.8489 MB / 1.275 GB, free: 48.71 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/2.628, allocations: 55.41 kB / 1.275 GB, free: 48.64 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008832/2.628, allocations: 0.8443 MB / 1.276 GB, free: 47.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/2.629, allocations: 37.7 kB / 1.276 GB, free: 47.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/2.629, allocations: 0.499 MB / 1.276 GB, free: 47.24 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/2.629, allocations: 149.9 kB / 1.276 GB, free: 47.09 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/2.629, allocations: 12 kB / 1.276 GB, free: 47.08 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.595e-05/2.629, allocations: 330 kB / 1.277 GB, free: 46.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/2.629, allocations: 220.9 kB / 1.277 GB, free: 46.54 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/2.63, allocations: 436.4 kB / 1.277 GB, free: 46.01 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/2.63, allocations: 320.3 kB / 1.278 GB, free: 45.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/2.63, allocations: 0 / 1.278 GB, free: 45.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009825/2.631, allocations: 0.787 MB / 1.279 GB, free: 44.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005529/2.632, allocations: 2.184 MB / 1.281 GB, free: 42.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/2.632, allocations: 4 kB / 1.281 GB, free: 42.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002619/2.632, allocations: 68.8 kB / 1.281 GB, free: 42.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/2.632, allocations: 111.9 kB / 1.281 GB, free: 42.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004383/2.633, allocations: 0.6341 MB / 1.281 GB, free: 41.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008481/2.634, allocations: 111.3 kB / 1.282 GB, free: 41.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/2.634, allocations: 31.98 kB / 1.282 GB, free: 41.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/2.634, allocations: 4 kB / 1.282 GB, free: 41.56 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008535/2.635, allocations: 0.6676 MB / 1.282 GB, free: 40.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/2.635, allocations: 8 kB / 1.282 GB, free: 40.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/2.635, allocations: 61.28 kB / 1.282 GB, free: 40.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/2.635, allocations: 111.8 kB / 1.282 GB, free: 40.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/2.637, allocations: 1.686 MB / 1.284 GB, free: 38.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006802/2.637, allocations: 99.48 kB / 1.284 GB, free: 38.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/2.637, allocations: 27.98 kB / 1.284 GB, free: 38.77 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006106/2.638, allocations: 488.7 kB / 1.285 GB, free: 38.28 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/2.638, allocations: 90.88 kB / 1.285 GB, free: 38.19 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008983/2.639, allocations: 0.6393 MB / 1.285 GB, free: 37.54 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/2.639, allocations: 4 kB / 1.285 GB, free: 37.54 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/2.639, allocations: 0 / 1.285 GB, free: 37.54 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006464/2.64, allocations: 0.8164 MB / 1.286 GB, free: 36.63 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/2.642, allocations: 1.672 MB / 1.288 GB, free: 34.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/2.642, allocations: 3.938 kB / 1.288 GB, free: 34.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/2.642, allocations: 83.89 kB / 1.288 GB, free: 34.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001023/2.642, allocations: 40.94 kB / 1.288 GB, free: 34.74 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/2.642, allocations: 16 kB / 1.288 GB, free: 34.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002636/2.643, allocations: 0.564 MB / 1.288 GB, free: 34.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/2.643, allocations: 4.031 kB / 1.288 GB, free: 34.13 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009616/2.643, allocations: 0.987 MB / 1.289 GB, free: 33.09 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000406/2.644, allocations: 267.8 kB / 1.29 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.003e-05/2.644, allocations: 11.95 kB / 1.29 GB, free: 32.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005324/2.645, allocations: 75.72 kB / 1.29 GB, free: 32.72 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/2.645, allocations: 31.89 kB / 1.29 GB, free: 32.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.896e-05/2.645, allocations: 23.98 kB / 1.29 GB, free: 32.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006929/2.645, allocations: 0.6668 MB / 1.29 GB, free: 32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/2.645, allocations: 4 kB / 1.29 GB, free: 32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001859/2.647, allocations: 0.5885 MB / 1.291 GB, free: 31.41 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002081/2.649, allocations: 2.085 MB / 1.293 GB, free: 29.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001533/2.651, allocations: 0.9958 MB / 1.294 GB, free: 28.27 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/2.651, allocations: 3.938 kB / 1.294 GB, free: 28.26 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002953/2.651, allocations: 244.2 kB / 1.294 GB, free: 28.02 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/2.654, allocations: 0.5568 MB / 1.295 GB, free: 27.47 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009502/2.663, allocations: 9.774 MB / 1.304 GB, free: 17.43 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/2.664, allocations: 1.248 MB / 1.306 GB, free: 16.16 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001289/2.665, allocations: 455 kB / 1.306 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004235/2.665, allocations: 367.3 kB / 1.306 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of SimCode: time 9.307e-06/2.665, allocations: 0 / 1.306 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5114/3.177, allocations: 30.4 MB / 1.336 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/3.177, allocations: 269.8 kB / 1.336 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.384/6.562, allocations: 0 / 1.336 GB, free: 159.6 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)