Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.486/1.486, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 170.6 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.4 MB / 0.5786 GB, free: 20.1 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009391/0.0009389, allocations: 86.31 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003503, allocations: 7.938 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2201, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.6987/0.9188, allocations: 202 MB / 1.099 GB, free: 1.395 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01797/0.9369, allocations: 13.61 MB / 1.112 GB, free: 1.055 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00279/0.9397, allocations: 44.84 kB / 1.112 GB, free: 1.055 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002449/0.9422, allocations: 0.6584 MB / 1.113 GB, free: 1.035 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006902/0.9491, allocations: 2.134 MB / 1.115 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005924/0.955, allocations: 1.834 MB / 1.117 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00603/0.9611, allocations: 4.143 MB / 1.121 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.963, allocations: 0.9638 MB / 1.122 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005424/0.9684, allocations: 1.548 MB / 1.123 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002702/0.9712, allocations: 1.045 MB / 1.124 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002961/0.9715, allocations: 55.59 kB / 1.124 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006814/0.9783, allocations: 3.176 MB / 1.127 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007027/0.9791, allocations: 346.9 kB / 1.128 GB, free: 0.582 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001395/0.9805, allocations: 0.7195 MB / 1.128 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004141/0.9846, allocations: 2.239 MB / 1.13 GB, free: 348 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.9846, allocations: 0 / 1.13 GB, free: 348 kB / 0.698 GB Notification: Performance of FrontEnd: time 2.495e-06/0.9847, allocations: 0 / 1.13 GB, free: 348 kB / 0.698 GB Notification: Performance of Transformations before backend: time 2.05e-05/0.9847, allocations: 0 / 1.13 GB, free: 348 kB / 0.698 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.004268/0.989, allocations: 1.826 MB / 1.132 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.989, allocations: 8.031 kB / 1.132 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003079/0.9921, allocations: 0.5615 MB / 1.133 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/0.9945, allocations: 1.074 MB / 1.134 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006717/0.9951, allocations: 216.7 kB / 1.134 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002287/0.9954, allocations: 99.47 kB / 1.134 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003164/0.9986, allocations: 1.278 MB / 1.135 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.9986, allocations: 0.5 kB / 1.135 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.9987, allocations: 34.59 kB / 1.135 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.351e-05/0.9988, allocations: 38.69 kB / 1.135 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003061/1.002, allocations: 1.332 MB / 1.137 GB, free: 14.61 MB / 0.7136 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.008235/1.01, allocations: 4.91 MB / 1.142 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/1.013, allocations: 1.035 MB / 1.143 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/1.014, allocations: 0.5829 MB / 1.143 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/1.015, allocations: 0.87 MB / 1.144 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001387/1.016, allocations: 0.6996 MB / 1.145 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=85): time 3.216e-06/1.016, allocations: 0 / 1.145 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=85): time 0.004429/1.021, allocations: 1.794 MB / 1.146 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.452e-05/1.021, allocations: 123 kB / 1.147 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/1.023, allocations: 1.033 MB / 1.148 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001771/1.023, allocations: 48.25 kB / 1.148 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005872/1.023, allocations: 0.5228 MB / 1.148 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00031/1.024, allocations: 279.3 kB / 1.148 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/1.024, allocations: 22.44 kB / 1.148 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001799/1.024, allocations: 343.4 kB / 1.149 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/1.025, allocations: 0.5141 MB / 1.149 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/1.027, allocations: 0.7145 MB / 1.15 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/1.03, allocations: 1.231 MB / 1.151 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/1.03, allocations: 0 / 1.151 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003866/1.033, allocations: 1.506 MB / 1.153 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002222/1.034, allocations: 241.2 kB / 1.153 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/1.034, allocations: 2.688 kB / 1.153 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/1.034, allocations: 9.594 kB / 1.153 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/1.035, allocations: 270.1 kB / 1.153 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/1.035, allocations: 6.5 kB / 1.153 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/1.037, allocations: 207.8 kB / 1.153 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/1.037, allocations: 47.78 kB / 1.153 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/1.037, allocations: 4 kB / 1.153 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003151/1.04, allocations: 1.424 MB / 1.155 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.04, allocations: 3.281 kB / 1.155 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/1.04, allocations: 5.344 kB / 1.155 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/1.041, allocations: 265.9 kB / 1.155 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/1.041, allocations: 7.812 kB / 1.155 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/1.043, allocations: 196 kB / 1.155 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/1.043, allocations: 47.91 kB / 1.155 GB, free: 6.617 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008061/1.044, allocations: 461.5 kB / 1.156 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/1.044, allocations: 132.8 kB / 1.156 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00324/1.047, allocations: 1.519 MB / 1.157 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/1.047, allocations: 8.656 kB / 1.157 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.047, allocations: 0 / 1.157 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/1.047, allocations: 11.97 kB / 1.157 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005527/1.053, allocations: 2.969 MB / 1.16 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/1.053, allocations: 2.781 kB / 1.16 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009814/1.054, allocations: 207.2 kB / 1.16 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/1.054, allocations: 8.656 kB / 1.16 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.431e-05/1.054, allocations: 36.91 kB / 1.16 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/1.054, allocations: 6.438 kB / 1.16 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.054, allocations: 8.75 kB / 1.16 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004536/1.059, allocations: 2.3 MB / 1.163 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007574/1.06, allocations: 346.4 kB / 1.163 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/1.06, allocations: 27.38 kB / 1.163 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/1.061, allocations: 133.7 kB / 1.163 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/1.061, allocations: 66.77 kB / 1.163 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.793e-05/1.061, allocations: 41.19 kB / 1.163 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001154/1.062, allocations: 0.7071 MB / 1.164 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/1.062, allocations: 0 / 1.164 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002177/1.064, allocations: 0.7877 MB / 1.165 GB, free: 0.5859 MB / 0.7136 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: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * 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 (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001268/1.066, allocations: 0.5131 MB / 1.165 GB, free: 108 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004744/1.07, allocations: 2.278 MB / 1.168 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.071, allocations: 0 / 1.168 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001493/1.072, allocations: 0.7872 MB / 1.168 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003509/1.076, allocations: 0.5147 MB / 1.169 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005532/1.081, allocations: 2.969 MB / 1.172 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009749/1.082, allocations: 1.149 MB / 1.173 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005961/1.083, allocations: 119.4 kB / 1.173 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of SimCode: time 3.236e-06/1.083, allocations: 0 / 1.173 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of Templates: time 0.03702/1.12, allocations: 22.59 MB / 1.195 GB, free: 1.715 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)