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.005968/0.005968, allocations: 170 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7493/0.7493, allocations: 135.2 MB / 151 MB, free: 13.81 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.451/1.451, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.001/0.001, allocations: 94.41 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.000344, allocations: 8 kB / 0.5691 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4667, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8096/1.276, allocations: 363.8 MB / 1.005 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/1.277, allocations: 90.88 kB / 1.005 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.444/6.72, allocations: 1.539 GB / 2.544 GB, free: 73.53 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.275e-06/6.72, allocations: 0 / 2.544 GB, free: 73.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001336/6.72, allocations: 54.42 kB / 2.544 GB, free: 73.48 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.00419/6.725, allocations: 2.195 MB / 2.546 GB, free: 71.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/6.725, allocations: 8.031 kB / 2.546 GB, free: 71.24 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001884/6.725, allocations: 156.5 kB / 2.546 GB, free: 71.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002883/6.728, allocations: 0.6093 MB / 2.547 GB, free: 70.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003275/6.731, allocations: 1.451 MB / 2.548 GB, free: 69.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.119e-05/6.731, allocations: 78 kB / 2.548 GB, free: 68.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/6.731, allocations: 112 kB / 2.548 GB, free: 68.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/6.734, allocations: 1.374 MB / 2.55 GB, free: 67.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/6.734, allocations: 10.41 kB / 2.55 GB, free: 67.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/6.734, allocations: 44 kB / 2.55 GB, free: 67.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/6.734, allocations: 24.34 kB / 2.55 GB, free: 67.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002852/6.737, allocations: 1.249 MB / 2.551 GB, free: 66.06 MB / 0.698 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.007314/6.744, allocations: 6.666 MB / 2.557 GB, free: 58.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002724/6.747, allocations: 1.25 MB / 2.559 GB, free: 57.69 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/6.748, allocations: 2.267 MB / 2.561 GB, free: 54.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001544/6.75, allocations: 0.846 MB / 2.562 GB, free: 54.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=97): time 3.446e-06/6.75, allocations: 0 / 2.562 GB, free: 54.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=97): time 0.004913/6.755, allocations: 2.465 MB / 2.564 GB, free: 51.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/6.755, allocations: 141.2 kB / 2.564 GB, free: 51.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/6.756, allocations: 1.054 MB / 2.565 GB, free: 50.28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/6.756, allocations: 45.7 kB / 2.565 GB, free: 50.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004875/6.757, allocations: 0.713 MB / 2.566 GB, free: 49.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/6.757, allocations: 319.4 kB / 2.566 GB, free: 49.19 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/6.757, allocations: 24 kB / 2.566 GB, free: 49.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.397e-05/6.757, allocations: 345.9 kB / 2.567 GB, free: 48.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/6.758, allocations: 0.58 MB / 2.567 GB, free: 48.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/6.76, allocations: 0.8712 MB / 2.568 GB, free: 47.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/6.761, allocations: 0.7133 MB / 2.569 GB, free: 46.53 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/6.761, allocations: 0 / 2.569 GB, free: 46.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003589/6.765, allocations: 1.846 MB / 2.571 GB, free: 44.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004181/6.765, allocations: 2.255 MB / 2.573 GB, free: 42.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/6.765, allocations: 4 kB / 2.573 GB, free: 42.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/6.765, allocations: 12 kB / 2.573 GB, free: 42.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/6.767, allocations: 291.6 kB / 2.573 GB, free: 41.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/6.767, allocations: 11.94 kB / 2.573 GB, free: 41.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/6.768, allocations: 253.9 kB / 2.573 GB, free: 41.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/6.768, allocations: 63.97 kB / 2.573 GB, free: 41.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/6.768, allocations: 8 kB / 2.573 GB, free: 41.56 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003236/6.772, allocations: 1.742 MB / 2.575 GB, free: 39.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/6.772, allocations: 8 kB / 2.575 GB, free: 39.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/6.772, allocations: 8 kB / 2.575 GB, free: 39.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/6.773, allocations: 287.9 kB / 2.575 GB, free: 39.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/6.773, allocations: 15.89 kB / 2.575 GB, free: 39.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/6.774, allocations: 242.9 kB / 2.576 GB, free: 39.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/6.774, allocations: 71.91 kB / 2.576 GB, free: 39.18 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 () * Number of clocked 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.0007796/6.775, allocations: 499.7 kB / 2.576 GB, free: 38.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/6.775, allocations: 166 kB / 2.576 GB, free: 38.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004204/6.78, allocations: 2.333 MB / 2.579 GB, free: 36.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.313e-05/6.78, allocations: 15.98 kB / 2.579 GB, free: 36.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/6.78, allocations: 3.953 kB / 2.579 GB, free: 36.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/6.78, allocations: 3.984 kB / 2.579 GB, free: 36.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005894/6.786, allocations: 3.69 MB / 2.582 GB, free: 32.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/6.786, allocations: 0 / 2.582 GB, free: 32.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/6.787, allocations: 235.8 kB / 2.582 GB, free: 32.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.485e-06/6.787, allocations: 4 kB / 2.582 GB, free: 32.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.115e-05/6.787, allocations: 47.95 kB / 2.583 GB, free: 32.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/6.787, allocations: 11.92 kB / 2.583 GB, free: 32.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/6.787, allocations: 0 / 2.583 GB, free: 32.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005314/6.792, allocations: 3.205 MB / 2.586 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008239/6.793, allocations: 401.4 kB / 2.586 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/6.793, allocations: 28 kB / 2.586 GB, free: 28.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/6.794, allocations: 175.7 kB / 2.586 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/6.795, allocations: 72.89 kB / 2.586 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/6.795, allocations: 59.97 kB / 2.586 GB, free: 28.01 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001041/6.796, allocations: 0.8148 MB / 2.587 GB, free: 27.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/6.796, allocations: 0 / 2.587 GB, free: 27.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002377/6.798, allocations: 0.9279 MB / 2.588 GB, free: 26.27 MB / 0.698 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) * Number of clocked states: 0 () * 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.006744/6.805, allocations: 4.851 MB / 2.593 GB, free: 21.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004805/6.81, allocations: 2.764 MB / 2.595 GB, free: 18.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/6.81, allocations: 0 / 2.595 GB, free: 18.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001661/6.811, allocations: 1.074 MB / 2.597 GB, free: 17.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/6.814, allocations: 0.5947 MB / 2.597 GB, free: 16.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01764/6.832, allocations: 14.04 MB / 2.611 GB, free: 2.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006087/6.833, allocations: 1.31 MB / 2.612 GB, free: 1.094 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00164/6.834, allocations: 420.4 kB / 2.613 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007302/6.835, allocations: 0.6516 MB / 2.613 GB, free: 52 kB / 0.698 GB Notification: Performance of SimCode: time 8.62e-07/6.835, allocations: 0 / 2.613 GB, free: 52 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4814/7.316, allocations: 50.29 MB / 2.662 GB, free: 103.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/7.317, allocations: 235.5 kB / 2.662 GB, free: 103.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.873/11.19, allocations: 0 / 2.662 GB, free: 103.3 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)