Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic") translateModel(Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.283/0.283, allocations: 54.33 MB / 66.89 MB, free: 6.094 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001041/0.001041, allocations: 180.7 kB / 80.71 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.564/1.564, allocations: 194.2 MB / 288.6 MB, free: 15.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001667/0.001667, allocations: 116 kB / 346.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.173e-05, allocations: 0 / 412.4 MB, free: 21.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1351, allocations: 57.64 MB / 470 MB, free: 11.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.161, allocations: 329.3 MB / 0.7806 GB, free: 49.12 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/1.161, allocations: 89.69 kB / 0.7807 GB, free: 49.07 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.57/4.731, allocations: 0.9086 GB / 1.689 GB, free: 50.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.904e-06/4.731, allocations: 0 / 1.689 GB, free: 50.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001476/4.731, allocations: 45.98 kB / 1.689 GB, free: 50.31 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.003834/4.735, allocations: 1.822 MB / 1.691 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/4.735, allocations: 9.531 kB / 1.691 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003324/4.739, allocations: 0.6113 MB / 1.692 GB, free: 49.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00322/4.742, allocations: 1.305 MB / 1.693 GB, free: 48.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.335e-05/4.742, allocations: 84.69 kB / 1.693 GB, free: 48.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/4.742, allocations: 118.1 kB / 1.693 GB, free: 48.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002619/4.745, allocations: 1.399 MB / 1.695 GB, free: 48.67 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/4.745, allocations: 3.875 kB / 1.695 GB, free: 48.67 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/4.745, allocations: 45.45 kB / 1.695 GB, free: 48.67 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.527e-05/4.745, allocations: 32.38 kB / 1.695 GB, free: 48.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/4.747, allocations: 1.064 MB / 1.696 GB, free: 48.66 MB / 0.5105 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.008551/4.756, allocations: 7.283 MB / 1.703 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002106/4.758, allocations: 1.057 MB / 1.704 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007015/4.758, allocations: 483 kB / 1.704 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/4.76, allocations: 1.603 MB / 1.706 GB, free: 42.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001434/4.761, allocations: 0.8108 MB / 1.707 GB, free: 42.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=97): time 3.987e-06/4.761, allocations: 0 / 1.707 GB, free: 42.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=97): time 0.003106/4.764, allocations: 1.336 MB / 1.708 GB, free: 42.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/4.764, allocations: 355.3 kB / 1.708 GB, free: 41.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/4.766, allocations: 1.019 MB / 1.709 GB, free: 41.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/4.766, allocations: 44.86 kB / 1.709 GB, free: 41.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005447/4.767, allocations: 0.6965 MB / 1.71 GB, free: 41.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003428/4.767, allocations: 322.9 kB / 1.71 GB, free: 40.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.756e-05/4.767, allocations: 21.38 kB / 1.71 GB, free: 40.98 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001271/4.767, allocations: 343 kB / 1.711 GB, free: 40.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006844/4.768, allocations: 438.6 kB / 1.711 GB, free: 40.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008431/4.769, allocations: 0.7331 MB / 1.712 GB, free: 40.35 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007316/4.769, allocations: 0.5674 MB / 1.712 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/4.769, allocations: 3.625 kB / 1.712 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002259/4.772, allocations: 1.387 MB / 1.714 GB, free: 40.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006012/4.772, allocations: 2.158 MB / 1.716 GB, free: 37.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/4.772, allocations: 6.406 kB / 1.716 GB, free: 37.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/4.772, allocations: 13.78 kB / 1.716 GB, free: 37.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/4.774, allocations: 319.1 kB / 1.716 GB, free: 37.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.644e-05/4.774, allocations: 16.33 kB / 1.716 GB, free: 37.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/4.776, allocations: 314.9 kB / 1.716 GB, free: 37.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/4.776, allocations: 57.14 kB / 1.716 GB, free: 37.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/4.776, allocations: 3.594 kB / 1.716 GB, free: 37.77 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001988/4.778, allocations: 1.264 MB / 1.718 GB, free: 37.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/4.778, allocations: 3.656 kB / 1.718 GB, free: 37.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/4.778, allocations: 11.62 kB / 1.718 GB, free: 37.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/4.779, allocations: 298 kB / 1.718 GB, free: 37.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/4.78, allocations: 17.47 kB / 1.718 GB, free: 37.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/4.781, allocations: 259.4 kB / 1.718 GB, free: 37.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/4.782, allocations: 56.14 kB / 1.718 GB, free: 37.59 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (121): * Single equations (assignments): 118 * 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.0004056/4.782, allocations: 273.8 kB / 1.719 GB, free: 37.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/4.782, allocations: 158.2 kB / 1.719 GB, free: 37.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002952/4.785, allocations: 1.845 MB / 1.721 GB, free: 37.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-05/4.785, allocations: 18.56 kB / 1.721 GB, free: 37.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/4.785, allocations: 0 / 1.721 GB, free: 37.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/4.785, allocations: 5.719 kB / 1.721 GB, free: 37.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/4.788, allocations: 1.338 MB / 1.722 GB, free: 36.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/4.788, allocations: 2.969 kB / 1.722 GB, free: 36.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/4.789, allocations: 235.5 kB / 1.722 GB, free: 36.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/4.789, allocations: 4.031 kB / 1.722 GB, free: 36.83 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.11e-05/4.789, allocations: 35.05 kB / 1.722 GB, free: 36.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.677e-06/4.789, allocations: 7.438 kB / 1.722 GB, free: 36.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/4.789, allocations: 5.5 kB / 1.722 GB, free: 36.83 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003155/4.792, allocations: 2.176 MB / 1.724 GB, free: 36.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006546/4.793, allocations: 248.7 kB / 1.725 GB, free: 36.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/4.793, allocations: 24.06 kB / 1.725 GB, free: 36.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/4.794, allocations: 199 kB / 1.725 GB, free: 36.35 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/4.795, allocations: 62.56 kB / 1.725 GB, free: 36.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/4.795, allocations: 52.12 kB / 1.725 GB, free: 36.35 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001169/4.796, allocations: 0.8188 MB / 1.726 GB, free: 36.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/4.796, allocations: 0 / 1.726 GB, free: 36.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002574/4.798, allocations: 0.8918 MB / 1.727 GB, free: 36.15 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (heaHigPow.heaCoo.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.heaCoo.T,heaCooUnl.heaCoo.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 (TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 12 * 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.001757/4.8, allocations: 0.9057 MB / 1.727 GB, free: 35.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003097/4.803, allocations: 2.304 MB / 1.73 GB, free: 35.51 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/4.803, allocations: 6.188 kB / 1.73 GB, free: 35.51 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/4.804, allocations: 0.8391 MB / 1.73 GB, free: 35.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002859/4.807, allocations: 0.5583 MB / 1.731 GB, free: 35.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/4.812, allocations: 2.492 MB / 1.733 GB, free: 34.67 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000706/4.812, allocations: 1.278 MB / 1.735 GB, free: 33.94 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002223/4.815, allocations: 476.9 kB / 1.735 GB, free: 33.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003439/4.815, allocations: 119.8 kB / 1.735 GB, free: 33.85 MB / 0.5105 GB Notification: Performance of SimCode: time 1.773e-06/4.815, allocations: 0 / 1.735 GB, free: 33.85 MB / 0.5105 GB Notification: Performance of Templates: time 0.05873/4.874, allocations: 36.12 MB / 1.771 GB, free: 31.41 MB / 0.5105 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T_dynamic.pipe 2>&1)