Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 107 kB / 16.38 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 193.1 kB / 17.31 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.887/1.887, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 66.47 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2152, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow): time 0.6301/0.8454, allocations: 261.6 MB / 1.04 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02644/0.8719, allocations: 20.01 MB / 1.06 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003553/0.8755, allocations: 79.56 kB / 1.06 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003821/0.8794, allocations: 1.192 MB / 1.061 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008928/0.8883, allocations: 3.664 MB / 1.065 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006096/0.8944, allocations: 2.564 MB / 1.067 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01929/0.9137, allocations: 16.36 MB / 1.083 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009986/0.9238, allocations: 7.028 MB / 1.09 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01221/0.936, allocations: 6.031 MB / 1.096 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007688/0.9437, allocations: 4.714 MB / 1.1 GB, free: 6.438 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001396/0.9451, allocations: 0.6992 MB / 1.101 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009073/0.9542, allocations: 4.176 MB / 1.105 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002622/0.9569, allocations: 2.03 MB / 1.107 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.005847/0.9627, allocations: 3.696 MB / 1.111 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01496/0.9777, allocations: 12.48 MB / 1.123 GB, free: 15.3 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.9777, allocations: 0 / 1.123 GB, free: 15.3 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9778, allocations: 7.938 kB / 1.123 GB, free: 15.29 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000234/0.978, allocations: 0 / 1.123 GB, free: 15.29 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.01744/0.9954, allocations: 7.136 MB / 1.13 GB, free: 8.062 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/0.9955, allocations: 8.031 kB / 1.13 GB, free: 8.055 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007311/1.003, allocations: 1.234 MB / 1.131 GB, free: 6.812 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/1.013, allocations: 5.828 MB / 1.137 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002225/1.014, allocations: 307.8 kB / 1.137 GB, free: 0.625 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009555/1.015, allocations: 419.9 kB / 1.138 GB, free: 220 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5232/1.538, allocations: 5.949 MB / 1.143 GB, free: 84.68 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001316/1.538, allocations: 6.719 kB / 1.143 GB, free: 84.68 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006459/1.539, allocations: 163.5 kB / 1.144 GB, free: 84.68 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003156/1.539, allocations: 196.2 kB / 1.144 GB, free: 84.68 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0134/1.552, allocations: 5.287 MB / 1.149 GB, free: 84.64 MB / 0.92 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.03897/1.591, allocations: 24.24 MB / 1.173 GB, free: 75.32 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005791/1.597, allocations: 3.948 MB / 1.176 GB, free: 74.79 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003389/1.601, allocations: 2.177 MB / 1.179 GB, free: 74.75 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/1.602, allocations: 1.002 MB / 1.18 GB, free: 73.71 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003105/1.605, allocations: 1.905 MB / 1.181 GB, free: 73.55 MB / 0.92 GB Notification: Performance of pre-optimization done (n=274): time 5.39e-06/1.605, allocations: 0.9375 kB / 1.181 GB, free: 73.55 MB / 0.92 GB Notification: Performance of matching and sorting (n=278): time 0.01666/1.622, allocations: 9.794 MB / 1.191 GB, free: 71.83 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/1.622, allocations: 136.9 kB / 1.191 GB, free: 71.7 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00593/1.628, allocations: 4.253 MB / 1.195 GB, free: 71.39 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0005724/1.628, allocations: 89.2 kB / 1.195 GB, free: 71.36 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001933/1.63, allocations: 2.187 MB / 1.197 GB, free: 70.64 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001113/1.631, allocations: 0.9586 MB / 1.198 GB, free: 70.02 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009658/1.632, allocations: 0.6072 MB / 1.199 GB, free: 69.98 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.148e-05/1.632, allocations: 301.1 kB / 1.199 GB, free: 69.69 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/1.634, allocations: 1.655 MB / 1.201 GB, free: 69.66 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002763/1.637, allocations: 2.436 MB / 1.203 GB, free: 68.95 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004923/1.642, allocations: 4.142 MB / 1.207 GB, free: 68.31 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/1.642, allocations: 2.969 kB / 1.207 GB, free: 68.31 MB / 0.92 GB Notification: Performance of matching and sorting (n=394) (initialization): time 0.006967/1.649, allocations: 4.695 MB / 1.212 GB, free: 67.91 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.613e-05/1.649, allocations: 73.92 kB / 1.212 GB, free: 67.84 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/1.649, allocations: 10.25 kB / 1.212 GB, free: 67.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003681/1.65, allocations: 128.3 kB / 1.212 GB, free: 67.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002692/1.652, allocations: 0.6832 MB / 1.213 GB, free: 67.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/1.654, allocations: 2.98 MB / 1.216 GB, free: 65.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003948/1.658, allocations: 244.9 kB / 1.216 GB, free: 65.75 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003196/1.659, allocations: 122.1 kB / 1.216 GB, free: 65.75 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00536/1.664, allocations: 3.513 MB / 1.219 GB, free: 65.66 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002742/1.667, allocations: 2.418 MB / 1.222 GB, free: 64.94 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005222/1.672, allocations: 4.127 MB / 1.226 GB, free: 63.87 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.061e-05/1.672, allocations: 4.656 kB / 1.226 GB, free: 63.87 MB / 0.92 GB Notification: Performance of matching and sorting (n=394) (initialization_lambda0): time 0.008063/1.68, allocations: 4.683 MB / 1.23 GB, free: 60.43 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.296e-05/1.68, allocations: 78.42 kB / 1.231 GB, free: 60.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/1.68, allocations: 12 kB / 1.231 GB, free: 60.33 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003583/1.681, allocations: 134.3 kB / 1.231 GB, free: 60.21 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/1.683, allocations: 0.6622 MB / 1.231 GB, free: 59.58 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/1.685, allocations: 2.373 MB / 1.234 GB, free: 57.11 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003975/1.689, allocations: 269.5 kB / 1.234 GB, free: 56.85 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000314/1.689, allocations: 120.8 kB / 1.234 GB, free: 56.73 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 14 (mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (373): * Single equations (assignments): 365 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008605/1.69, allocations: 435.8 kB / 1.234 GB, free: 56.33 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009498/1.691, allocations: 422.9 kB / 1.235 GB, free: 55.91 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005824/1.697, allocations: 4.131 MB / 1.239 GB, free: 51.74 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004032/1.701, allocations: 3.478 MB / 1.242 GB, free: 48.18 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/1.701, allocations: 4.875 kB / 1.242 GB, free: 48.18 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002689/1.704, allocations: 0.9645 MB / 1.243 GB, free: 47.19 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009833/1.705, allocations: 67.98 kB / 1.243 GB, free: 47.12 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002469/1.707, allocations: 172 kB / 1.243 GB, free: 46.96 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003282/1.708, allocations: 157.9 kB / 1.244 GB, free: 46.81 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006503/1.714, allocations: 4.402 MB / 1.248 GB, free: 42.37 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007355/1.721, allocations: 6.479 MB / 1.254 GB, free: 35.81 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001792/1.723, allocations: 1.813 MB / 1.256 GB, free: 33.98 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003948/1.727, allocations: 3.006 MB / 1.259 GB, free: 30.96 MB / 0.92 GB Notification: Performance of Backend: time 4.11e-07/1.727, allocations: 0.8438 kB / 1.259 GB, free: 30.96 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01024/1.737, allocations: 6.18 MB / 1.265 GB, free: 25.07 MB / 0.92 GB Notification: Performance of SimCode: time 0.01959/1.757, allocations: 12.44 MB / 1.277 GB, free: 12.93 MB / 0.92 GB Notification: Performance of Templates: time 0.1685/1.926, allocations: 114 MB / 1.388 GB, free: 12.32 MB / 1.029 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)