Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="IDEAS_dev_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.001445/0.001445, allocations: 174.8 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.7775/0.7775, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.583/1.583, allocations: 221.3 MB / 400.4 MB, free: 5.828 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.001032/0.001032, allocations: 108 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.453e-05/4.456e-05, allocations: 3.875 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2279, allocations: 82.31 MB / 0.6405 GB, free: 7.754 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.392/1.62, allocations: 363.7 MB / 0.9957 GB, free: 258 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/1.621, allocations: 88.8 kB / 0.9958 GB, free: 258 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.204/7.824, allocations: 1.534 GB / 2.53 GB, free: 33.56 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.236e-06/7.824, allocations: 0 / 2.53 GB, free: 33.56 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000255/7.825, allocations: 51.98 kB / 2.53 GB, free: 33.51 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.004839/7.829, allocations: 1.872 MB / 2.532 GB, free: 31.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/7.83, allocations: 12.03 kB / 2.532 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004389/7.83, allocations: 156.9 kB / 2.532 GB, free: 31.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00338/7.833, allocations: 0.6138 MB / 2.533 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004259/7.838, allocations: 1.434 MB / 2.534 GB, free: 29.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.378e-05/7.838, allocations: 78 kB / 2.534 GB, free: 29.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003319/7.838, allocations: 119.8 kB / 2.534 GB, free: 29.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/7.84, allocations: 1.194 MB / 2.535 GB, free: 27.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/7.84, allocations: 3.938 kB / 2.535 GB, free: 27.83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/7.84, allocations: 47.94 kB / 2.535 GB, free: 27.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/7.84, allocations: 28 kB / 2.535 GB, free: 27.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/7.842, allocations: 0.8941 MB / 2.536 GB, free: 26.87 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.007205/7.849, allocations: 6.648 MB / 2.543 GB, free: 19.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/7.851, allocations: 0.9324 MB / 2.544 GB, free: 18.78 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006442/7.851, allocations: 0.5147 MB / 2.544 GB, free: 18.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/7.853, allocations: 2.264 MB / 2.546 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008158/7.854, allocations: 0.6623 MB / 2.547 GB, free: 14.81 MB / 0.698 GB Notification: Performance of pre-optimization done (n=97): time 4.839e-06/7.854, allocations: 0 / 2.547 GB, free: 14.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=97): time 0.002181/7.856, allocations: 1.31 MB / 2.548 GB, free: 13.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.369e-05/7.856, allocations: 153.3 kB / 2.548 GB, free: 13.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/7.857, allocations: 1.034 MB / 2.549 GB, free: 12.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-05/7.857, allocations: 48 kB / 2.549 GB, free: 12.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004726/7.858, allocations: 0.7015 MB / 2.55 GB, free: 11.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/7.858, allocations: 327.3 kB / 2.55 GB, free: 11.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.644e-05/7.858, allocations: 16 kB / 2.55 GB, free: 11.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.02e-05/7.858, allocations: 345.9 kB / 2.551 GB, free: 10.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005826/7.859, allocations: 422.2 kB / 2.551 GB, free: 10.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007386/7.859, allocations: 0.7003 MB / 2.552 GB, free: 9.586 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006871/7.86, allocations: 0.5542 MB / 2.552 GB, free: 9.012 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.892e-06/7.86, allocations: 8 kB / 2.552 GB, free: 9.004 MB / 0.698 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002267/7.862, allocations: 1.499 MB / 2.554 GB, free: 7.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007838/7.863, allocations: 2.254 MB / 2.556 GB, free: 5.012 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/7.863, allocations: 4 kB / 2.556 GB, free: 5.008 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.197e-05/7.863, allocations: 12 kB / 2.556 GB, free: 4.996 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/7.865, allocations: 286.4 kB / 2.556 GB, free: 4.719 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.089e-05/7.865, allocations: 12 kB / 2.556 GB, free: 4.707 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/7.866, allocations: 250.7 kB / 2.557 GB, free: 4.465 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/7.867, allocations: 71.91 kB / 2.557 GB, free: 4.395 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/7.867, allocations: 4 kB / 2.557 GB, free: 4.391 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002124/7.869, allocations: 1.398 MB / 2.558 GB, free: 2.973 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/7.869, allocations: 12.12 kB / 2.558 GB, free: 2.961 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/7.869, allocations: 8 kB / 2.558 GB, free: 2.953 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/7.87, allocations: 291.6 kB / 2.558 GB, free: 2.668 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/7.87, allocations: 11.94 kB / 2.558 GB, free: 2.656 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/7.871, allocations: 242.9 kB / 2.559 GB, free: 2.418 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/7.871, allocations: 59.97 kB / 2.559 GB, free: 2.359 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.0004019/7.872, allocations: 283.5 kB / 2.559 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/7.872, allocations: 158.1 kB / 2.559 GB, free: 1.902 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003417/7.876, allocations: 2 MB / 2.561 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-05/7.876, allocations: 23.98 kB / 2.561 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/7.876, allocations: 0 / 2.561 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/7.876, allocations: 7.938 kB / 2.561 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005806/7.881, allocations: 3.336 MB / 2.564 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/7.881, allocations: 4 kB / 2.564 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/7.883, allocations: 231.8 kB / 2.565 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/7.883, allocations: 8 kB / 2.565 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/7.883, allocations: 39.97 kB / 2.565 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.188e-05/7.883, allocations: 8 kB / 2.565 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/7.883, allocations: 3.172 kB / 2.565 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004155/7.887, allocations: 2.697 MB / 2.567 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009038/7.888, allocations: 402.5 kB / 2.568 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/7.888, allocations: 32 kB / 2.568 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/7.889, allocations: 167.7 kB / 2.568 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/7.89, allocations: 80.45 kB / 2.568 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/7.89, allocations: 56.16 kB / 2.568 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001299/7.891, allocations: 0.7941 MB / 2.569 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.81e-07/7.891, allocations: 3.938 kB / 2.569 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002915/7.894, allocations: 0.9224 MB / 2.57 GB, free: 6.887 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.006472/7.9, allocations: 4.335 MB / 2.574 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003769/7.904, allocations: 2.31 MB / 2.576 GB, free: 172 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/7.904, allocations: 0 / 2.576 GB, free: 172 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.5468/8.451, allocations: 0.9016 MB / 2.577 GB, free: 92.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003459/8.454, allocations: 0.601 MB / 2.578 GB, free: 92.85 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007672/8.462, allocations: 3.071 MB / 2.581 GB, free: 92.18 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/8.463, allocations: 1.311 MB / 2.582 GB, free: 91.47 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002571/8.466, allocations: 494.7 kB / 2.582 GB, free: 91.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008449/8.467, allocations: 0.6384 MB / 2.583 GB, free: 91.45 MB / 0.7136 GB Notification: Performance of SimCode: time 1.382e-06/8.467, allocations: 0 / 2.583 GB, free: 91.45 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1227/8.589, allocations: 53.63 MB / 2.635 GB, free: 89.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/8.59, allocations: 202.6 kB / 2.636 GB, free: 89.47 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.03/12.62, allocations: 0 / 2.636 GB, free: 89.47 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)