Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T.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,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T") translateModel(Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2787/0.2787, allocations: 54.32 MB / 66.88 MB, free: 6.098 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.001197/0.001197, allocations: 183 kB / 80.71 MB, free: 15.39 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.721/1.721, allocations: 194.2 MB / 288.6 MB, free: 14.98 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.001711/0.001711, allocations: 111.9 kB / 346.9 MB, free: 4.715 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.023e-05, allocations: 4 kB / 412.4 MB, free: 21.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1384, allocations: 57.64 MB / 470 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.164, allocations: 329.1 MB / 0.7804 GB, free: 49.25 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/1.165, allocations: 85.83 kB / 0.7805 GB, free: 49.21 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716/3.88, allocations: 0.6576 GB / 1.438 GB, free: 45.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.327e-06/3.88, allocations: 5.641 kB / 1.438 GB, free: 45.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001482/3.88, allocations: 46.62 kB / 1.438 GB, free: 45.98 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.003668/3.884, allocations: 1.804 MB / 1.44 GB, free: 45.24 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/3.884, allocations: 9.219 kB / 1.44 GB, free: 45.24 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003452/3.888, allocations: 0.6131 MB / 1.44 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003626/3.891, allocations: 1.28 MB / 1.442 GB, free: 44.83 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.866e-05/3.891, allocations: 82.28 kB / 1.442 GB, free: 44.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/3.892, allocations: 117.1 kB / 1.442 GB, free: 44.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002789/3.894, allocations: 1.418 MB / 1.443 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/3.894, allocations: 10.83 kB / 1.443 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/3.895, allocations: 45.53 kB / 1.443 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.808e-05/3.895, allocations: 37.92 kB / 1.443 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/3.897, allocations: 1.027 MB / 1.444 GB, free: 44.47 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.009237/3.906, allocations: 7.663 MB / 1.452 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/3.908, allocations: 0.9544 MB / 1.453 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007121/3.909, allocations: 452.7 kB / 1.453 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/3.91, allocations: 1.598 MB / 1.455 GB, free: 37.81 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001493/3.912, allocations: 0.775 MB / 1.456 GB, free: 37.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=88): time 4.218e-06/3.912, allocations: 3.609 kB / 1.456 GB, free: 37.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88): time 0.003381/3.915, allocations: 1.265 MB / 1.457 GB, free: 37.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/3.915, allocations: 356.9 kB / 1.457 GB, free: 36.99 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/3.917, allocations: 1.026 MB / 1.458 GB, free: 36.83 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001131/3.917, allocations: 42.42 kB / 1.458 GB, free: 36.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000554/3.918, allocations: 0.7223 MB / 1.459 GB, free: 36.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002921/3.918, allocations: 292 kB / 1.459 GB, free: 36.37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.209e-05/3.918, allocations: 20.47 kB / 1.459 GB, free: 36.37 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.683e-05/3.918, allocations: 346.6 kB / 1.46 GB, free: 36.06 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006967/3.919, allocations: 415 kB / 1.46 GB, free: 36.06 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008457/3.92, allocations: 0.7156 MB / 1.461 GB, free: 35.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007431/3.92, allocations: 0.5411 MB / 1.461 GB, free: 35.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/3.92, allocations: 3.906 kB / 1.461 GB, free: 35.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002127/3.923, allocations: 1.356 MB / 1.462 GB, free: 35.39 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00059/3.923, allocations: 2.68 MB / 1.465 GB, free: 32.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/3.923, allocations: 6.625 kB / 1.465 GB, free: 32.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/3.923, allocations: 11.78 kB / 1.465 GB, free: 32.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/3.924, allocations: 310.8 kB / 1.465 GB, free: 32.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/3.925, allocations: 20.52 kB / 1.465 GB, free: 32.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/3.927, allocations: 296.9 kB / 1.466 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/3.927, allocations: 58.42 kB / 1.466 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/3.927, allocations: 12.36 kB / 1.466 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001777/3.929, allocations: 1.227 MB / 1.467 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/3.929, allocations: 7.562 kB / 1.467 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/3.929, allocations: 15.06 kB / 1.467 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/3.93, allocations: 284 kB / 1.467 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.472e-05/3.93, allocations: 17.92 kB / 1.467 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/3.932, allocations: 248.3 kB / 1.468 GB, free: 32.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/3.932, allocations: 58.56 kB / 1.468 GB, free: 32.43 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (115): * Single equations (assignments): 112 * 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.0003596/3.932, allocations: 273.3 kB / 1.468 GB, free: 32.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003338/3.932, allocations: 163.9 kB / 1.468 GB, free: 32.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003041/3.935, allocations: 1.746 MB / 1.47 GB, free: 31.92 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.393e-05/3.935, allocations: 15.59 kB / 1.47 GB, free: 31.92 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/3.935, allocations: 3 kB / 1.47 GB, free: 31.92 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/3.935, allocations: 1.875 kB / 1.47 GB, free: 31.92 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/3.938, allocations: 1.291 MB / 1.471 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/3.938, allocations: 11.14 kB / 1.471 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/3.939, allocations: 222.3 kB / 1.471 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/3.939, allocations: 3.969 kB / 1.471 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.921e-05/3.939, allocations: 34.2 kB / 1.471 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.433e-06/3.939, allocations: 6.203 kB / 1.471 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/3.939, allocations: 0 / 1.471 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002869/3.942, allocations: 2.063 MB / 1.473 GB, free: 31.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005553/3.943, allocations: 244.2 kB / 1.473 GB, free: 31.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003849/3.943, allocations: 30.25 kB / 1.474 GB, free: 31.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/3.944, allocations: 186.1 kB / 1.474 GB, free: 31.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/3.945, allocations: 57.27 kB / 1.474 GB, free: 31.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.835e-05/3.945, allocations: 42.25 kB / 1.474 GB, free: 31.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001294/3.946, allocations: 0.8334 MB / 1.475 GB, free: 31.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.91e-07/3.946, allocations: 2.25 kB / 1.475 GB, free: 31.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003213/3.949, allocations: 0.8932 MB / 1.475 GB, free: 30.99 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.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 (79): * Single equations (assignments): 64 * 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.002055/3.951, allocations: 0.8888 MB / 1.476 GB, free: 30.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003156/3.954, allocations: 2.216 MB / 1.479 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/3.955, allocations: 0 / 1.479 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009359/3.955, allocations: 0.8038 MB / 1.479 GB, free: 30.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/3.958, allocations: 0.5598 MB / 1.48 GB, free: 30.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/3.963, allocations: 2.248 MB / 1.482 GB, free: 29.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009134/3.964, allocations: 1.268 MB / 1.483 GB, free: 28.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002459/3.966, allocations: 475.4 kB / 1.484 GB, free: 28.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/3.967, allocations: 112.4 kB / 1.484 GB, free: 28.86 MB / 0.5105 GB Notification: Performance of SimCode: time 1.202e-06/3.967, allocations: 0 / 1.484 GB, free: 28.86 MB / 0.5105 GB Notification: Performance of Templates: time 0.06292/4.03, allocations: 35.72 MB / 1.519 GB, free: 26.71 MB / 0.5105 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.Validation.HeaterCooler_T.pipe 2>&1)