Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002264/0.002265, allocations: 183.8 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7664/0.7664, allocations: 92 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.2 MB / 354.3 MB, free: 10.4 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001001, allocations: 92.28 kB / 427.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 8 kB / 0.4982 GB, free: 42.05 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.16, allocations: 72.31 MB / 0.5689 GB, free: 1.668 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.004/5.164, allocations: 2.149 GB / 2.718 GB, free: 207.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/5.164, allocations: 94.88 kB / 2.718 GB, free: 207.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.365/8.529, allocations: 0.9263 GB / 3.644 GB, free: 74.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.763e-06/8.529, allocations: 0 / 3.644 GB, free: 74.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000129/8.529, allocations: 43.14 kB / 3.644 GB, free: 74.52 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.006313/8.536, allocations: 2.176 MB / 3.646 GB, free: 73.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/8.536, allocations: 9.812 kB / 3.646 GB, free: 73.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002977/8.539, allocations: 0.5177 MB / 3.647 GB, free: 73.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003068/8.542, allocations: 1.239 MB / 3.648 GB, free: 73.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006424/8.542, allocations: 207.4 kB / 3.648 GB, free: 73.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/8.543, allocations: 102.7 kB / 3.648 GB, free: 73.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002898/8.545, allocations: 1.289 MB / 3.649 GB, free: 73.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/8.546, allocations: 0.8438 kB / 3.649 GB, free: 73.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/8.546, allocations: 39.62 kB / 3.649 GB, free: 73.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.408e-05/8.546, allocations: 39.05 kB / 3.65 GB, free: 73.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003197/8.549, allocations: 1.276 MB / 3.651 GB, free: 73.29 MB / 0.6355 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.009937/8.559, allocations: 5.118 MB / 3.656 GB, free: 71.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003093/8.562, allocations: 1.072 MB / 3.657 GB, free: 71.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/8.563, allocations: 0.8359 MB / 3.658 GB, free: 70.47 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001647/8.565, allocations: 0.7341 MB / 3.658 GB, free: 70.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=84): time 3.497e-06/8.565, allocations: 0 / 3.658 GB, free: 70.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=84): time 0.00519/8.57, allocations: 2.018 MB / 3.66 GB, free: 69.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.738e-05/8.57, allocations: 118.7 kB / 3.66 GB, free: 69.85 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/8.572, allocations: 0.9069 MB / 3.661 GB, free: 69.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001282/8.572, allocations: 46.52 kB / 3.661 GB, free: 69.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005136/8.572, allocations: 0.5298 MB / 3.662 GB, free: 69.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/8.572, allocations: 273.8 kB / 3.662 GB, free: 69.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/8.573, allocations: 16.91 kB / 3.662 GB, free: 69.39 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001022/8.573, allocations: 346.9 kB / 3.662 GB, free: 69.08 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/8.574, allocations: 0.5321 MB / 3.663 GB, free: 69.08 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/8.576, allocations: 0.7467 MB / 3.664 GB, free: 68.88 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/8.577, allocations: 0.6318 MB / 3.664 GB, free: 68.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/8.577, allocations: 0 / 3.664 GB, free: 68.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003512/8.581, allocations: 1.567 MB / 3.666 GB, free: 68.63 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003115/8.581, allocations: 1.121 MB / 3.667 GB, free: 67.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/8.581, allocations: 7.156 kB / 3.667 GB, free: 67.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.55e-05/8.581, allocations: 9.594 kB / 3.667 GB, free: 67.47 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/8.582, allocations: 267.1 kB / 3.667 GB, free: 67.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/8.582, allocations: 6.656 kB / 3.667 GB, free: 67.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/8.584, allocations: 221.8 kB / 3.667 GB, free: 67.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/8.584, allocations: 47.98 kB / 3.668 GB, free: 67.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/8.584, allocations: 5.344 kB / 3.668 GB, free: 67.45 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003316/8.588, allocations: 1.488 MB / 3.669 GB, free: 67.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/8.588, allocations: 3.5 kB / 3.669 GB, free: 67.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/8.588, allocations: 9.469 kB / 3.669 GB, free: 67.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/8.589, allocations: 268.7 kB / 3.669 GB, free: 67.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/8.589, allocations: 16.06 kB / 3.669 GB, free: 67.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/8.591, allocations: 195.7 kB / 3.669 GB, free: 67.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/8.591, allocations: 55.38 kB / 3.669 GB, free: 67.34 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * 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.0009617/8.592, allocations: 466.7 kB / 3.67 GB, free: 67.08 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/8.592, allocations: 142.2 kB / 3.67 GB, free: 67.01 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003307/8.595, allocations: 1.563 MB / 3.672 GB, free: 66.87 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/8.595, allocations: 6.719 kB / 3.672 GB, free: 66.87 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/8.595, allocations: 0 / 3.672 GB, free: 66.87 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/8.595, allocations: 7.469 kB / 3.672 GB, free: 66.87 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005516/8.601, allocations: 3.044 MB / 3.675 GB, free: 66.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/8.601, allocations: 3.906 kB / 3.675 GB, free: 66.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009995/8.602, allocations: 207.2 kB / 3.675 GB, free: 66.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/8.602, allocations: 12.42 kB / 3.675 GB, free: 66.37 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.562e-05/8.602, allocations: 42.52 kB / 3.675 GB, free: 66.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.68e-05/8.602, allocations: 9.375 kB / 3.675 GB, free: 66.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/8.602, allocations: 5.844 kB / 3.675 GB, free: 66.37 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004606/8.607, allocations: 2.557 MB / 3.677 GB, free: 65.76 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008401/8.607, allocations: 359.5 kB / 3.678 GB, free: 65.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/8.608, allocations: 27.03 kB / 3.678 GB, free: 65.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/8.609, allocations: 148.3 kB / 3.678 GB, free: 65.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/8.609, allocations: 65.7 kB / 3.678 GB, free: 65.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/8.609, allocations: 52.38 kB / 3.678 GB, free: 65.59 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001069/8.61, allocations: 0.7032 MB / 3.679 GB, free: 65.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/8.61, allocations: 0 / 3.679 GB, free: 65.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003427/8.614, allocations: 1.01 MB / 3.68 GB, free: 65.41 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * 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.003712/8.617, allocations: 2.227 MB / 3.682 GB, free: 64.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004671/8.622, allocations: 2.302 MB / 3.684 GB, free: 64.53 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/8.622, allocations: 0 / 3.684 GB, free: 64.53 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001379/8.624, allocations: 0.7817 MB / 3.685 GB, free: 64.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/8.626, allocations: 0.5082 MB / 3.685 GB, free: 64.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004547/8.631, allocations: 2.818 MB / 3.688 GB, free: 63.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/8.631, allocations: 1.185 MB / 3.689 GB, free: 62.46 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001729/8.633, allocations: 372 kB / 3.69 GB, free: 62.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/8.633, allocations: 112.3 kB / 3.69 GB, free: 62.44 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/8.633, allocations: 0 / 3.69 GB, free: 62.44 MB / 0.6355 GB Notification: Performance of Templates: time 0.06275/8.696, allocations: 45.59 MB / 3.734 GB, free: 60.26 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)