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.3117/0.3117, allocations: 55.01 MB / 69.96 MB, free: 8.668 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.001355/0.001355, allocations: 198.6 kB / 83.98 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.686/1.686, allocations: 194.4 MB / 292.3 MB, free: 3.609 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.001677/0.001677, allocations: 112.7 kB / 350.7 MB, free: 9.113 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004136/0.0004136, allocations: 8 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1217, allocations: 57.66 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9335/1.055, allocations: 329.4 MB / 0.7871 GB, free: 99.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/1.056, allocations: 93.7 kB / 0.7871 GB, free: 99.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.503/4.559, allocations: 0.9114 GB / 1.699 GB, free: 63.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.466e-06/4.559, allocations: 0 / 1.699 GB, free: 63.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001929/4.559, allocations: 50.16 kB / 1.699 GB, free: 63.48 MB / 0.5261 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.006217/4.565, allocations: 2.106 MB / 1.701 GB, free: 62.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/4.566, allocations: 7.25 kB / 1.701 GB, free: 62.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003697/4.569, allocations: 0.6115 MB / 1.701 GB, free: 62.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003488/4.573, allocations: 1.313 MB / 1.703 GB, free: 62.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.952e-05/4.573, allocations: 87.22 kB / 1.703 GB, free: 62.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/4.573, allocations: 113.6 kB / 1.703 GB, free: 62.12 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003399/4.576, allocations: 1.623 MB / 1.704 GB, free: 61.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/4.576, allocations: 3.281 kB / 1.704 GB, free: 61.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/4.577, allocations: 46.53 kB / 1.704 GB, free: 61.82 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.039e-05/4.577, allocations: 38.53 kB / 1.704 GB, free: 61.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003676/4.58, allocations: 1.444 MB / 1.706 GB, free: 61.82 MB / 0.5261 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.008535/4.589, allocations: 7.284 MB / 1.713 GB, free: 57.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003904/4.593, allocations: 1.486 MB / 1.714 GB, free: 57.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/4.594, allocations: 1.605 MB / 1.716 GB, free: 55.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002386/4.596, allocations: 1.017 MB / 1.717 GB, free: 55.42 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=97): time 3.958e-06/4.596, allocations: 3.062 kB / 1.717 GB, free: 55.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=97): time 0.006324/4.603, allocations: 2.551 MB / 1.719 GB, free: 54.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/4.603, allocations: 358.4 kB / 1.72 GB, free: 54.49 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/4.604, allocations: 1.035 MB / 1.721 GB, free: 54.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000143/4.605, allocations: 46.8 kB / 1.721 GB, free: 54.31 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005417/4.605, allocations: 0.6956 MB / 1.722 GB, free: 54.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/4.605, allocations: 317.6 kB / 1.722 GB, free: 53.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/4.605, allocations: 25.34 kB / 1.722 GB, free: 53.87 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.44e-05/4.605, allocations: 350.2 kB / 1.722 GB, free: 53.56 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/4.607, allocations: 0.63 MB / 1.723 GB, free: 53.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/4.609, allocations: 0.9377 MB / 1.724 GB, free: 53.24 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/4.61, allocations: 0.7729 MB / 1.724 GB, free: 53.13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/4.61, allocations: 3.953 kB / 1.724 GB, free: 53.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004222/4.615, allocations: 1.808 MB / 1.726 GB, free: 52.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005163/4.615, allocations: 2.159 MB / 1.728 GB, free: 50.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/4.615, allocations: 6.5 kB / 1.728 GB, free: 50.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-05/4.615, allocations: 13.66 kB / 1.728 GB, free: 50.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/4.617, allocations: 316.5 kB / 1.729 GB, free: 50.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-05/4.617, allocations: 13.22 kB / 1.729 GB, free: 50.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/4.619, allocations: 306.9 kB / 1.729 GB, free: 50.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/4.619, allocations: 59.14 kB / 1.729 GB, free: 50.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/4.619, allocations: 4.844 kB / 1.729 GB, free: 50.66 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003413/4.623, allocations: 1.614 MB / 1.731 GB, free: 50.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/4.623, allocations: 7.094 kB / 1.731 GB, free: 50.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/4.623, allocations: 9.812 kB / 1.731 GB, free: 50.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/4.624, allocations: 297.7 kB / 1.731 GB, free: 50.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/4.624, allocations: 15.36 kB / 1.731 GB, free: 50.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/4.626, allocations: 254.7 kB / 1.731 GB, free: 50.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/4.626, allocations: 63.19 kB / 1.731 GB, free: 50.48 MB / 0.5261 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 () * Number of clocked 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.00109/4.627, allocations: 0.4995 MB / 1.732 GB, free: 50.19 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004072/4.628, allocations: 163.9 kB / 1.732 GB, free: 50.11 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004499/4.632, allocations: 2.256 MB / 1.734 GB, free: 49.88 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/4.632, allocations: 17.08 kB / 1.734 GB, free: 49.88 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/4.632, allocations: 0 / 1.734 GB, free: 49.88 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/4.632, allocations: 7.406 kB / 1.734 GB, free: 49.88 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002733/4.635, allocations: 1.339 MB / 1.735 GB, free: 49.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/4.635, allocations: 0 / 1.735 GB, free: 49.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/4.636, allocations: 238.3 kB / 1.736 GB, free: 49.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/4.636, allocations: 8.391 kB / 1.736 GB, free: 49.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/4.636, allocations: 38.09 kB / 1.736 GB, free: 49.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/4.636, allocations: 3.781 kB / 1.736 GB, free: 49.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/4.636, allocations: 0 / 1.736 GB, free: 49.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006354/4.643, allocations: 2.8 MB / 1.738 GB, free: 49.33 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009801/4.644, allocations: 249 kB / 1.739 GB, free: 49.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000312/4.644, allocations: 26.94 kB / 1.739 GB, free: 49.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/4.646, allocations: 198.7 kB / 1.739 GB, free: 49.13 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/4.646, allocations: 64.31 kB / 1.739 GB, free: 49.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/4.646, allocations: 48.36 kB / 1.739 GB, free: 49.13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001307/4.647, allocations: 0.8447 MB / 1.74 GB, free: 49.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.6e-07/4.647, allocations: 0 / 1.74 GB, free: 49.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00267/4.65, allocations: 0.8972 MB / 1.741 GB, free: 48.93 MB / 0.5261 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) * Number of clocked states: 0 () * 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.001706/4.652, allocations: 0.8959 MB / 1.742 GB, free: 48.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005692/4.657, allocations: 2.839 MB / 1.744 GB, free: 48.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/4.657, allocations: 5.266 kB / 1.744 GB, free: 48.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001845/4.659, allocations: 1.05 MB / 1.745 GB, free: 48.13 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/4.662, allocations: 0.5669 MB / 1.746 GB, free: 48.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006067/4.668, allocations: 3.786 MB / 1.75 GB, free: 46.43 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006843/4.669, allocations: 1.281 MB / 1.751 GB, free: 45.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001857/4.671, allocations: 399.7 kB / 1.751 GB, free: 45.63 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/4.671, allocations: 135.5 kB / 1.751 GB, free: 45.62 MB / 0.5261 GB Notification: Performance of SimCode: time 1.132e-06/4.671, allocations: 0 / 1.751 GB, free: 45.62 MB / 0.5261 GB Notification: Performance of Templates: time 0.05319/4.724, allocations: 32.39 MB / 1.783 GB, free: 43.27 MB / 0.5261 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)