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.295/0.295, allocations: 54.42 MB / 61.9 MB, free: 13.73 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.001277/0.001277, allocations: 185.5 kB / 75.61 MB, free: 0.7539 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.664/1.664, allocations: 194.3 MB / 283.5 MB, free: 14.79 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.001682/0.001682, allocations: 115.8 kB / 341.6 MB, free: 4.031 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.555e-05/1.556e-05, allocations: 7.984 kB / 405.5 MB, free: 4.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3412, allocations: 57.65 MB / 463.1 MB, free: 51.78 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6807/1.022, allocations: 328.7 MB / 0.7733 GB, free: 14.79 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/1.022, allocations: 82.52 kB / 0.7734 GB, free: 14.75 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607/4.63, allocations: 0.9037 GB / 1.677 GB, free: 57.96 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.585e-06/4.63, allocations: 1.031 kB / 1.677 GB, free: 57.96 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.00014/4.63, allocations: 42.5 kB / 1.677 GB, free: 57.95 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.003828/4.634, allocations: 1.817 MB / 1.679 GB, free: 57.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/4.634, allocations: 11.25 kB / 1.679 GB, free: 57.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003129/4.637, allocations: 0.6067 MB / 1.679 GB, free: 56.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003094/4.64, allocations: 1.303 MB / 1.681 GB, free: 56.53 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.722e-05/4.64, allocations: 35.69 kB / 1.681 GB, free: 56.53 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/4.64, allocations: 77.03 kB / 1.681 GB, free: 56.53 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001676/4.642, allocations: 0.8966 MB / 1.682 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/4.644, allocations: 1.151 MB / 1.683 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/4.644, allocations: 7.062 kB / 1.683 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/4.644, allocations: 4.688 kB / 1.683 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-05/4.644, allocations: 33.03 kB / 1.683 GB, free: 56.23 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.008343/4.652, allocations: 7.042 MB / 1.69 GB, free: 51.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/4.654, allocations: 0.9326 MB / 1.691 GB, free: 51.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005889/4.654, allocations: 464.8 kB / 1.691 GB, free: 51.85 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/4.655, allocations: 1.608 MB / 1.693 GB, free: 50.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009334/4.656, allocations: 0.6902 MB / 1.693 GB, free: 49.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=97): time 3.236e-06/4.656, allocations: 3.188 kB / 1.693 GB, free: 49.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=97): time 0.003646/4.66, allocations: 1.345 MB / 1.695 GB, free: 49.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/4.66, allocations: 353.5 kB / 1.695 GB, free: 49.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/4.661, allocations: 0.843 MB / 1.696 GB, free: 49.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.469e-05/4.661, allocations: 32.73 kB / 1.696 GB, free: 49.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000597/4.662, allocations: 0.6984 MB / 1.697 GB, free: 48.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000289/4.662, allocations: 309.5 kB / 1.697 GB, free: 48.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/4.662, allocations: 5.344 kB / 1.697 GB, free: 48.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001122/4.663, allocations: 350.7 kB / 1.697 GB, free: 48.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000589/4.663, allocations: 412.8 kB / 1.698 GB, free: 48.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007945/4.664, allocations: 0.709 MB / 1.698 GB, free: 48.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/4.666, allocations: 0.7035 MB / 1.699 GB, free: 48.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/4.666, allocations: 2.406 kB / 1.699 GB, free: 48.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003069/4.669, allocations: 1.464 MB / 1.7 GB, free: 47.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006327/4.67, allocations: 2.138 MB / 1.702 GB, free: 45.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/4.67, allocations: 10.11 kB / 1.702 GB, free: 45.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.6e-05/4.67, allocations: 12.38 kB / 1.702 GB, free: 45.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/4.671, allocations: 314.1 kB / 1.703 GB, free: 45.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/4.671, allocations: 17.73 kB / 1.703 GB, free: 45.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/4.673, allocations: 264.7 kB / 1.703 GB, free: 45.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/4.673, allocations: 56.47 kB / 1.703 GB, free: 45.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/4.673, allocations: 3.938 kB / 1.703 GB, free: 45.67 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00279/4.676, allocations: 1.309 MB / 1.704 GB, free: 45.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/4.676, allocations: 5.469 kB / 1.704 GB, free: 45.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/4.676, allocations: 11.53 kB / 1.704 GB, free: 45.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/4.677, allocations: 299 kB / 1.705 GB, free: 45.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/4.677, allocations: 11.59 kB / 1.705 GB, free: 45.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/4.679, allocations: 224.5 kB / 1.705 GB, free: 45.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/4.679, allocations: 57.86 kB / 1.705 GB, free: 45.6 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.0004067/4.68, allocations: 254.4 kB / 1.705 GB, free: 45.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/4.68, allocations: 146.3 kB / 1.705 GB, free: 45.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003778/4.684, allocations: 1.858 MB / 1.707 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/4.684, allocations: 13.28 kB / 1.707 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/4.684, allocations: 3.938 kB / 1.707 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/4.684, allocations: 10.47 kB / 1.707 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/4.686, allocations: 1.168 MB / 1.708 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/4.686, allocations: 0 / 1.708 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/4.687, allocations: 238.3 kB / 1.709 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.25e-05/4.687, allocations: 3.625 kB / 1.709 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.327e-05/4.687, allocations: 31.77 kB / 1.709 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/4.687, allocations: 3 kB / 1.709 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/4.687, allocations: 6.188 kB / 1.709 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004088/4.691, allocations: 2.178 MB / 1.711 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006454/4.692, allocations: 239 kB / 1.711 GB, free: 44.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/4.692, allocations: 14.19 kB / 1.711 GB, free: 44.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/4.694, allocations: 173.1 kB / 1.711 GB, free: 44.58 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/4.694, allocations: 65.73 kB / 1.711 GB, free: 44.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/4.694, allocations: 44.2 kB / 1.711 GB, free: 44.58 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001023/4.695, allocations: 0.663 MB / 1.712 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/4.695, allocations: 0 / 1.712 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00317/4.698, allocations: 0.8771 MB / 1.713 GB, free: 44.35 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.001912/4.7, allocations: 0.9072 MB / 1.714 GB, free: 44.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003045/4.703, allocations: 2.211 MB / 1.716 GB, free: 43.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/4.703, allocations: 0 / 1.716 GB, free: 43.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00086/4.704, allocations: 0.8198 MB / 1.717 GB, free: 42.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/4.707, allocations: 452 kB / 1.717 GB, free: 42.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004499/4.711, allocations: 2.431 MB / 1.719 GB, free: 41.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006955/4.712, allocations: 1.276 MB / 1.721 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002153/4.714, allocations: 450.1 kB / 1.721 GB, free: 40.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/4.714, allocations: 108.4 kB / 1.721 GB, free: 40.55 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/4.714, allocations: 0 / 1.721 GB, free: 40.55 MB / 0.5105 GB Notification: Performance of Templates: time 0.05269/4.767, allocations: 28.89 MB / 1.749 GB, free: 22.19 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)