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.4049/0.4049, allocations: 55.01 MB / 69.96 MB, free: 8.66 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.001223/0.001224, allocations: 176.1 kB / 83.97 MB, free: 10.85 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.843/1.843, allocations: 194.4 MB / 292.3 MB, free: 3.594 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001883/0.001883, allocations: 118.9 kB / 350.7 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003735, allocations: 8 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.119, allocations: 57.65 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9714/1.09, allocations: 329.2 MB / 0.7868 GB, free: 99.64 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/1.091, allocations: 94.62 kB / 0.7869 GB, free: 99.59 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.308/3.399, allocations: 0.6597 GB / 1.447 GB, free: 1.922 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.364e-06/3.399, allocations: 0 / 1.447 GB, free: 1.922 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001449/3.399, allocations: 51.97 kB / 1.447 GB, free: 1.871 MB / 0.4948 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.00507/3.404, allocations: 2.08 MB / 1.449 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/3.404, allocations: 16.02 kB / 1.449 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00363/3.408, allocations: 0.6043 MB / 1.449 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/3.412, allocations: 1.31 MB / 1.451 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.952e-05/3.412, allocations: 86.42 kB / 1.451 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/3.412, allocations: 112 kB / 1.451 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004224/3.416, allocations: 1.633 MB / 1.452 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/3.417, allocations: 7.938 kB / 1.452 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/3.417, allocations: 48 kB / 1.452 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.274e-05/3.417, allocations: 35.98 kB / 1.452 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004085/3.421, allocations: 1.409 MB / 1.454 GB, free: 10.29 MB / 0.5105 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.01115/3.432, allocations: 7.646 MB / 1.461 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004356/3.436, allocations: 1.392 MB / 1.463 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.411/3.847, allocations: 1.598 MB / 1.464 GB, free: 46.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003378/3.851, allocations: 0.9765 MB / 1.465 GB, free: 46.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=88): time 2.695e-06/3.851, allocations: 0 / 1.465 GB, free: 46.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88): time 0.007495/3.858, allocations: 2.455 MB / 1.468 GB, free: 46.24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/3.859, allocations: 354.4 kB / 1.468 GB, free: 45.83 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/3.861, allocations: 1.059 MB / 1.469 GB, free: 45.69 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001591/3.861, allocations: 45.86 kB / 1.469 GB, free: 45.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006971/3.862, allocations: 0.7094 MB / 1.47 GB, free: 45.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003104/3.862, allocations: 291.2 kB / 1.47 GB, free: 45.35 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/3.862, allocations: 22.69 kB / 1.47 GB, free: 45.35 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001036/3.862, allocations: 348.3 kB / 1.47 GB, free: 45.04 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/3.864, allocations: 0.6052 MB / 1.471 GB, free: 45.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/3.866, allocations: 0.9285 MB / 1.472 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/3.868, allocations: 0.746 MB / 1.473 GB, free: 44.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/3.868, allocations: 2.938 kB / 1.473 GB, free: 44.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004285/3.872, allocations: 1.762 MB / 1.474 GB, free: 44.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005687/3.872, allocations: 2.69 MB / 1.477 GB, free: 41.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/3.872, allocations: 5.219 kB / 1.477 GB, free: 41.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.167e-05/3.873, allocations: 11.06 kB / 1.477 GB, free: 41.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/3.874, allocations: 311.6 kB / 1.477 GB, free: 41.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/3.874, allocations: 17.59 kB / 1.477 GB, free: 41.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/3.876, allocations: 314 kB / 1.478 GB, free: 41.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/3.876, allocations: 52.61 kB / 1.478 GB, free: 41.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/3.876, allocations: 4.438 kB / 1.478 GB, free: 41.61 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003385/3.88, allocations: 1.569 MB / 1.479 GB, free: 41.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/3.88, allocations: 5.969 kB / 1.479 GB, free: 41.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/3.88, allocations: 17.95 kB / 1.479 GB, free: 41.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/3.881, allocations: 289.4 kB / 1.479 GB, free: 41.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.049e-05/3.881, allocations: 18.69 kB / 1.479 GB, free: 41.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/3.883, allocations: 241.5 kB / 1.48 GB, free: 41.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/3.883, allocations: 58.39 kB / 1.48 GB, free: 41.46 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 () * Number of clocked 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.001226/3.885, allocations: 0.5005 MB / 1.48 GB, free: 41.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004294/3.885, allocations: 161.2 kB / 1.48 GB, free: 41.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00535/3.89, allocations: 2.157 MB / 1.482 GB, free: 40.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.063e-05/3.891, allocations: 15.23 kB / 1.482 GB, free: 40.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/3.891, allocations: 0 / 1.482 GB, free: 40.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/3.891, allocations: 4.906 kB / 1.482 GB, free: 40.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002853/3.893, allocations: 1.291 MB / 1.484 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/3.893, allocations: 3.312 kB / 1.484 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/3.895, allocations: 222.1 kB / 1.484 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/3.895, allocations: 6.156 kB / 1.484 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/3.895, allocations: 35.47 kB / 1.484 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.071e-05/3.895, allocations: 3.188 kB / 1.484 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/3.895, allocations: 5.562 kB / 1.484 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007115/3.902, allocations: 2.674 MB / 1.487 GB, free: 40.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008645/3.903, allocations: 240.6 kB / 1.487 GB, free: 40.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005968/3.904, allocations: 34.09 kB / 1.487 GB, free: 40.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/3.905, allocations: 184.7 kB / 1.487 GB, free: 40.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/3.905, allocations: 54.27 kB / 1.487 GB, free: 40.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/3.906, allocations: 47.17 kB / 1.487 GB, free: 40.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001697/3.907, allocations: 0.8508 MB / 1.488 GB, free: 40.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.8e-07/3.907, allocations: 2.344 kB / 1.488 GB, free: 40.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003719/3.911, allocations: 0.8936 MB / 1.489 GB, free: 40.07 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) * Number of clocked states: 0 () * 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.002048/3.913, allocations: 0.8892 MB / 1.49 GB, free: 39.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006119/3.919, allocations: 2.753 MB / 1.492 GB, free: 39.51 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/3.919, allocations: 0 / 1.492 GB, free: 39.51 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001947/3.921, allocations: 1.001 MB / 1.493 GB, free: 39.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003538/3.925, allocations: 0.5714 MB / 1.494 GB, free: 39.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007937/3.933, allocations: 3.521 MB / 1.497 GB, free: 37.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/3.934, allocations: 1.268 MB / 1.499 GB, free: 37.22 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002203/3.936, allocations: 395.1 kB / 1.499 GB, free: 37.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/3.936, allocations: 125.8 kB / 1.499 GB, free: 37.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.623e-06/3.936, allocations: 1.438 kB / 1.499 GB, free: 37.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.05911/3.996, allocations: 31.98 MB / 1.53 GB, free: 35.09 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)