Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",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.001269/0.001269, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7695/0.7695, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.535/1.535, allocations: 221.3 MB / 400.4 MB, free: 5.852 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008995/0.0008996, allocations: 91.83 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.321e-05/3.322e-05, allocations: 3.156 kB / 0.5601 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1643, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.44/1.604, allocations: 363.7 MB / 0.9957 GB, free: 257.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/1.604, allocations: 87.2 kB / 0.9958 GB, free: 257.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.285/7.889, allocations: 1.534 GB / 2.53 GB, free: 33.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/7.889, allocations: 0 / 2.53 GB, free: 33.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003689/7.89, allocations: 51.92 kB / 2.53 GB, free: 33.53 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.005138/7.895, allocations: 1.876 MB / 2.532 GB, free: 31.58 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/7.895, allocations: 8.031 kB / 2.532 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005008/7.896, allocations: 160.9 kB / 2.532 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003412/7.899, allocations: 0.6107 MB / 2.533 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004422/7.903, allocations: 1.429 MB / 2.534 GB, free: 29.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.276e-05/7.903, allocations: 86 kB / 2.534 GB, free: 29.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003937/7.904, allocations: 111.9 kB / 2.534 GB, free: 29.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/7.906, allocations: 1.194 MB / 2.535 GB, free: 27.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/7.906, allocations: 7.938 kB / 2.535 GB, free: 27.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/7.906, allocations: 44 kB / 2.535 GB, free: 27.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/7.906, allocations: 24 kB / 2.535 GB, free: 27.78 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/7.908, allocations: 0.9057 MB / 2.536 GB, free: 26.88 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.008315/7.916, allocations: 6.65 MB / 2.543 GB, free: 19.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/7.918, allocations: 0.9277 MB / 2.544 GB, free: 18.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006654/7.919, allocations: 0.5108 MB / 2.544 GB, free: 18.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/7.92, allocations: 2.253 MB / 2.546 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008317/7.921, allocations: 0.6815 MB / 2.547 GB, free: 14.83 MB / 0.698 GB Notification: Performance of pre-optimization done (n=97): time 3.467e-06/7.921, allocations: 0 / 2.547 GB, free: 14.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=97): time 0.002182/7.923, allocations: 1.314 MB / 2.548 GB, free: 13.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/7.923, allocations: 141.3 kB / 2.548 GB, free: 13.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/7.925, allocations: 1.034 MB / 2.549 GB, free: 12.28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/7.925, allocations: 49.7 kB / 2.549 GB, free: 12.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005103/7.925, allocations: 0.6937 MB / 2.55 GB, free: 11.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/7.926, allocations: 326.1 kB / 2.55 GB, free: 11.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/7.926, allocations: 28 kB / 2.55 GB, free: 11.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.806e-05/7.926, allocations: 341.9 kB / 2.551 GB, free: 10.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/7.926, allocations: 426.2 kB / 2.551 GB, free: 10.42 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007484/7.927, allocations: 0.6994 MB / 2.552 GB, free: 9.605 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007161/7.928, allocations: 0.5542 MB / 2.552 GB, free: 9.031 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/7.928, allocations: 0 / 2.552 GB, free: 9.031 MB / 0.698 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00239/7.93, allocations: 1.506 MB / 2.554 GB, free: 7.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006072/7.931, allocations: 2.246 MB / 2.556 GB, free: 5.039 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/7.931, allocations: 8 kB / 2.556 GB, free: 5.031 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.384e-05/7.931, allocations: 8 kB / 2.556 GB, free: 5.023 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/7.932, allocations: 299.5 kB / 2.556 GB, free: 4.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-05/7.932, allocations: 12 kB / 2.556 GB, free: 4.719 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/7.934, allocations: 246.8 kB / 2.557 GB, free: 4.477 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/7.934, allocations: 59.97 kB / 2.557 GB, free: 4.418 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/7.934, allocations: 4.938 kB / 2.557 GB, free: 4.414 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002088/7.936, allocations: 1.405 MB / 2.558 GB, free: 2.988 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/7.936, allocations: 6.297 kB / 2.558 GB, free: 2.984 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/7.937, allocations: 12 kB / 2.558 GB, free: 2.973 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/7.938, allocations: 292.2 kB / 2.558 GB, free: 2.688 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/7.938, allocations: 19.92 kB / 2.558 GB, free: 2.668 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/7.939, allocations: 234.9 kB / 2.559 GB, free: 2.438 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/7.94, allocations: 63.97 kB / 2.559 GB, free: 2.375 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003124/7.94, allocations: 267.6 kB / 2.559 GB, free: 2.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003552/7.94, allocations: 166.1 kB / 2.559 GB, free: 1.926 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003245/7.943, allocations: 2.011 MB / 2.561 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.349e-05/7.944, allocations: 11.98 kB / 2.561 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/7.944, allocations: 4 kB / 2.561 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.833e-05/7.944, allocations: 11.92 kB / 2.561 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006928/7.951, allocations: 3.347 MB / 2.564 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/7.951, allocations: 0 / 2.564 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/7.952, allocations: 227.8 kB / 2.565 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-05/7.952, allocations: 8 kB / 2.565 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/7.952, allocations: 47.95 kB / 2.565 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.246e-05/7.952, allocations: 4 kB / 2.565 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/7.952, allocations: 6.734 kB / 2.565 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005026/7.957, allocations: 2.685 MB / 2.567 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/7.958, allocations: 410.4 kB / 2.568 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005306/7.959, allocations: 28 kB / 2.568 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/7.961, allocations: 171.7 kB / 2.568 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/7.961, allocations: 68.69 kB / 2.568 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/7.961, allocations: 59.97 kB / 2.568 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001611/7.963, allocations: 0.798 MB / 2.569 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.743e-06/7.963, allocations: 96 / 2.569 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003764/7.966, allocations: 0.9192 MB / 2.57 GB, free: 6.902 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007266/7.974, allocations: 4.343 MB / 2.574 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004021/7.978, allocations: 2.317 MB / 2.576 GB, free: 172 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/7.978, allocations: 0 / 2.576 GB, free: 172 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.5251/8.503, allocations: 0.892 MB / 2.577 GB, free: 91.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003438/8.506, allocations: 0.593 MB / 2.578 GB, free: 91.87 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008238/8.515, allocations: 3.086 MB / 2.581 GB, free: 91.21 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/8.516, allocations: 1.308 MB / 2.582 GB, free: 90.49 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002439/8.518, allocations: 491.1 kB / 2.582 GB, free: 90.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008557/8.519, allocations: 0.6408 MB / 2.583 GB, free: 90.48 MB / 0.7136 GB Notification: Performance of SimCode: time 1.402e-06/8.519, allocations: 0 / 2.583 GB, free: 90.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1108/8.63, allocations: 53.62 MB / 2.635 GB, free: 88.71 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/8.63, allocations: 197.8 kB / 2.636 GB, free: 88.49 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.158/12.79, allocations: 0 / 2.636 GB, free: 88.49 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)