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.639/1.639, allocations: 288.4 MB / 303.4 MB, free: 8.168 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.001006/0.001006, allocations: 178.2 kB / 372 MB, free: 10.25 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.516/1.516, allocations: 205.4 MB / 0.6307 GB, free: 9.977 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.0008739/0.0008738, allocations: 88.89 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004152/0.0004152, allocations: 12 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2356, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.8019/1.037, allocations: 188.6 MB / 1.164 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02542/1.063, allocations: 12.6 MB / 1.176 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002877/1.066, allocations: 44.56 kB / 1.176 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002475/1.068, allocations: 0.5209 MB / 1.177 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.007277/1.076, allocations: 1.652 MB / 1.178 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.007374/1.083, allocations: 1.611 MB / 1.18 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007323/1.09, allocations: 3.561 MB / 1.183 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002172/1.093, allocations: 0.8654 MB / 1.184 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005015/1.098, allocations: 1.455 MB / 1.186 GB, free: 24 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002631/1.1, allocations: 0.9606 MB / 1.186 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0003037/1.101, allocations: 59.19 kB / 1.186 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007087/1.108, allocations: 2.299 MB / 1.189 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0007008/1.109, allocations: 333.5 kB / 1.189 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.00086/1.109, allocations: 308.8 kB / 1.189 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.005253/1.115, allocations: 2.146 MB / 1.191 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.115, allocations: 0 / 1.191 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.885e-06/1.115, allocations: 0 / 1.191 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.716e-05/1.115, allocations: 2.938 kB / 1.191 GB, free: 12.52 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.006351/1.121, allocations: 1.842 MB / 1.193 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/1.121, allocations: 10.91 kB / 1.193 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004455/1.126, allocations: 0.5554 MB / 1.194 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003572/1.129, allocations: 1.046 MB / 1.195 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009629/1.13, allocations: 210.5 kB / 1.195 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003779/1.131, allocations: 98.22 kB / 1.195 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00406/1.135, allocations: 1.282 MB / 1.196 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/1.135, allocations: 0 / 1.196 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/1.135, allocations: 31.91 kB / 1.196 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-05/1.135, allocations: 39.34 kB / 1.196 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003293/1.138, allocations: 1.327 MB / 1.198 GB, free: 8.539 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.009291/1.148, allocations: 4.9 MB / 1.203 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/1.15, allocations: 1.038 MB / 1.204 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/1.152, allocations: 0.5808 MB / 1.204 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/1.153, allocations: 0.8656 MB / 1.205 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001531/1.154, allocations: 0.7001 MB / 1.206 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=85): time 4.238e-06/1.154, allocations: 0 / 1.206 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85): time 0.00463/1.159, allocations: 1.782 MB / 1.207 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.234e-05/1.159, allocations: 119.5 kB / 1.207 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/1.161, allocations: 1.03 MB / 1.208 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001538/1.161, allocations: 45.7 kB / 1.209 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000537/1.162, allocations: 0.5241 MB / 1.209 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/1.162, allocations: 276 kB / 1.209 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/1.162, allocations: 20 kB / 1.209 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.162, allocations: 345.9 kB / 1.21 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/1.164, allocations: 0.5134 MB / 1.21 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/1.165, allocations: 0.7154 MB / 1.211 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/1.167, allocations: 0.6036 MB / 1.211 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/1.167, allocations: 4 kB / 1.211 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003673/1.17, allocations: 1.495 MB / 1.213 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001937/1.171, allocations: 230.2 kB / 1.213 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/1.171, allocations: 4 kB / 1.213 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/1.171, allocations: 8 kB / 1.213 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/1.172, allocations: 267.6 kB / 1.213 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.692e-05/1.172, allocations: 15.92 kB / 1.213 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/1.174, allocations: 219.7 kB / 1.214 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/1.174, allocations: 47.97 kB / 1.214 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/1.174, allocations: 4 kB / 1.214 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003287/1.177, allocations: 1.417 MB / 1.215 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.177, allocations: 4 kB / 1.215 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/1.177, allocations: 8 kB / 1.215 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/1.179, allocations: 263.7 kB / 1.215 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.273e-05/1.179, allocations: 4 kB / 1.215 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/1.18, allocations: 195 kB / 1.216 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/1.18, allocations: 47.98 kB / 1.216 GB, free: 8.484 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.0008522/1.181, allocations: 468.1 kB / 1.216 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004242/1.182, allocations: 130.5 kB / 1.216 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003621/1.185, allocations: 1.516 MB / 1.218 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/1.185, allocations: 12 kB / 1.218 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/1.185, allocations: 0 / 1.218 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/1.185, allocations: 3.984 kB / 1.218 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006122/1.192, allocations: 2.963 MB / 1.221 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/1.192, allocations: 0 / 1.221 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009903/1.193, allocations: 216.1 kB / 1.221 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.79e-05/1.193, allocations: 11.95 kB / 1.221 GB, free: 3.031 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.117e-05/1.193, allocations: 31.98 kB / 1.221 GB, free: 3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.375e-06/1.193, allocations: 4 kB / 1.221 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.317e-05/1.193, allocations: 4 kB / 1.221 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004696/1.197, allocations: 2.288 MB / 1.223 GB, free: 0.6445 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000754/1.198, allocations: 347.2 kB / 1.223 GB, free: 292 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/1.199, allocations: 32.02 kB / 1.223 GB, free: 260 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/1.2, allocations: 119.9 kB / 1.223 GB, free: 140 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/1.2, allocations: 72.42 kB / 1.224 GB, free: 68 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/1.2, allocations: 43.97 kB / 1.224 GB, free: 24 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001248/1.201, allocations: 0.6971 MB / 1.224 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/1.201, allocations: 0 / 1.224 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002606/1.204, allocations: 0.7916 MB / 1.225 GB, free: 14.52 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.001409/1.205, allocations: 0.5276 MB / 1.226 GB, free: 14 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004976/1.21, allocations: 2.267 MB / 1.228 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.21, allocations: 0 / 1.228 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001564/1.212, allocations: 0.7877 MB / 1.229 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/1.215, allocations: 0.5145 MB / 1.229 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005637/1.221, allocations: 2.844 MB / 1.232 GB, free: 7.445 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009439/1.222, allocations: 1.157 MB / 1.233 GB, free: 6.258 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002051/1.224, allocations: 361.6 kB / 1.233 GB, free: 5.914 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004177/1.224, allocations: 107.4 kB / 1.233 GB, free: 5.809 MB / 0.7605 GB Notification: Performance of SimCode: time 7.22e-07/1.224, allocations: 0 / 1.233 GB, free: 5.809 MB / 0.7605 GB Notification: Performance of Templates: time 0.04696/1.271, allocations: 24.75 MB / 1.258 GB, free: 13.28 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)