Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.627/1.627, allocations: 288.4 MB / 303.7 MB, free: 8.016 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001272/0.001273, allocations: 184.5 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.4 MB / 0.631 GB, free: 9.926 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00092/0.0009198, allocations: 90.36 kB / 0.7444 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003532, allocations: 13 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1902, allocations: 115.3 MB / 0.9801 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.5749/0.7652, allocations: 188.6 MB / 1.164 GB, free: 264 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01679/0.782, allocations: 12.6 MB / 1.177 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/0.784, allocations: 44.31 kB / 1.177 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002075/0.7861, allocations: 0.5619 MB / 1.177 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005681/0.7918, allocations: 1.873 MB / 1.179 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0059/0.7977, allocations: 1.654 MB / 1.181 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005417/0.8031, allocations: 3.592 MB / 1.184 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.8049, allocations: 0.9622 MB / 1.185 GB, free: 288 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004501/0.8094, allocations: 1.556 MB / 1.187 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.8112, allocations: 0.9617 MB / 1.188 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.8114, allocations: 54.44 kB / 1.188 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006336/0.8178, allocations: 3.089 MB / 1.191 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001114/0.8189, allocations: 336.2 kB / 1.191 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001847/0.8208, allocations: 0.6911 MB / 1.192 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00641/0.8272, allocations: 2.234 MB / 1.194 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.8273, allocations: 0 / 1.194 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.385e-06/0.8273, allocations: 0 / 1.194 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.597e-05/0.8274, allocations: 0 / 1.194 GB, free: 11.11 MB / 0.7292 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.005337/0.8327, allocations: 1.833 MB / 1.196 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.8328, allocations: 7.938 kB / 1.196 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003522/0.8363, allocations: 0.5596 MB / 1.196 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002323/0.8386, allocations: 1.085 MB / 1.197 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006661/0.8393, allocations: 203.4 kB / 1.197 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.8396, allocations: 105.3 kB / 1.197 GB, free: 8.484 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/0.8421, allocations: 1.273 MB / 1.199 GB, free: 7.754 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.8421, allocations: 3.984 kB / 1.199 GB, free: 7.75 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.982e-05/0.8422, allocations: 32.62 kB / 1.199 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.423e-05/0.8423, allocations: 42.53 kB / 1.199 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003001/0.8453, allocations: 1.327 MB / 1.2 GB, free: 7.086 MB / 0.7292 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.008263/0.8536, allocations: 4.888 MB / 1.205 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/0.8561, allocations: 1.039 MB / 1.206 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.8573, allocations: 0.5837 MB / 1.206 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001247/0.8586, allocations: 0.8664 MB / 1.207 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0016/0.8602, allocations: 0.702 MB / 1.208 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=85): time 3.557e-06/0.8602, allocations: 0 / 1.208 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85): time 0.004412/0.8646, allocations: 1.78 MB / 1.21 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/0.8647, allocations: 123.5 kB / 1.21 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.8662, allocations: 1.022 MB / 1.211 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001475/0.8664, allocations: 53.64 kB / 1.211 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004973/0.8669, allocations: 0.5204 MB / 1.211 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000289/0.8672, allocations: 272 kB / 1.212 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-05/0.8673, allocations: 16 kB / 1.212 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.8674, allocations: 345.9 kB / 1.212 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.8688, allocations: 0.5094 MB / 1.212 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.8704, allocations: 0.7155 MB / 1.213 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002544/0.8729, allocations: 1.223 MB / 1.214 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8729, allocations: 0 / 1.214 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003477/0.8764, allocations: 1.503 MB / 1.216 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001657/0.8766, allocations: 235.7 kB / 1.216 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.8766, allocations: 7.938 kB / 1.216 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.8767, allocations: 12 kB / 1.216 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.8779, allocations: 259.6 kB / 1.216 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.878, allocations: 11.92 kB / 1.216 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.8796, allocations: 218.9 kB / 1.217 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.8797, allocations: 39.98 kB / 1.217 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.612e-06/0.8797, allocations: 4 kB / 1.217 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003116/0.8829, allocations: 1.421 MB / 1.218 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.8829, allocations: 7.938 kB / 1.218 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.8829, allocations: 4 kB / 1.218 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.8841, allocations: 267.7 kB / 1.218 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.8842, allocations: 8 kB / 1.218 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.8856, allocations: 195.1 kB / 1.218 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.215e-05/0.8857, allocations: 43.97 kB / 1.218 GB, free: 5.68 MB / 0.7448 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.000766/0.8865, allocations: 468.1 kB / 1.219 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002412/0.8867, allocations: 130.4 kB / 1.219 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003259/0.89, allocations: 1.524 MB / 1.221 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.89, allocations: 8 kB / 1.221 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.8901, allocations: 0 / 1.221 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.8901, allocations: 3.984 kB / 1.221 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005495/0.8956, allocations: 2.963 MB / 1.223 GB, free: 456 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.8956, allocations: 4 kB / 1.223 GB, free: 452 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009491/0.8966, allocations: 208.1 kB / 1.224 GB, free: 244 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/0.8966, allocations: 4 kB / 1.224 GB, free: 240 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.933e-05/0.8967, allocations: 35.92 kB / 1.224 GB, free: 204 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.8967, allocations: 11.98 kB / 1.224 GB, free: 192 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.8967, allocations: 4 kB / 1.224 GB, free: 188 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004594/0.9013, allocations: 2.292 MB / 1.226 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000736/0.9021, allocations: 339.1 kB / 1.226 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.9023, allocations: 32 kB / 1.226 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.9035, allocations: 131.8 kB / 1.226 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.9036, allocations: 64.42 kB / 1.226 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.9037, allocations: 43.97 kB / 1.227 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001036/0.9048, allocations: 0.6971 MB / 1.227 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9048, allocations: 0 / 1.227 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002079/0.9069, allocations: 0.7955 MB / 1.228 GB, free: 11.71 MB / 0.7605 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 (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.001266/0.9082, allocations: 0.5159 MB / 1.228 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004855/0.913, allocations: 2.266 MB / 1.231 GB, free: 8.875 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.9131, allocations: 4 kB / 1.231 GB, free: 8.871 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/0.9146, allocations: 0.784 MB / 1.231 GB, free: 8.062 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00354/0.9182, allocations: 0.5047 MB / 1.232 GB, free: 7.562 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005301/0.9235, allocations: 2.844 MB / 1.235 GB, free: 4.648 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007182/0.9243, allocations: 1.16 MB / 1.236 GB, free: 3.461 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001856/0.9261, allocations: 367.1 kB / 1.236 GB, free: 3.109 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003606/0.9265, allocations: 103.4 kB / 1.236 GB, free: 3.008 MB / 0.7605 GB Notification: Performance of SimCode: time 8.71e-07/0.9265, allocations: 0 / 1.236 GB, free: 3.008 MB / 0.7605 GB Notification: Performance of Templates: time 0.04362/0.9701, allocations: 25.11 MB / 1.261 GB, free: 10.11 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)