Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.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.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 104 kB / 16.36 MB, free: 6.262 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.001246/0.001246, allocations: 193.4 kB / 17.3 MB, free: 5.848 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.4/1.4, allocations: 205.1 MB / 223.2 MB, free: 12.19 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.772/1.772, allocations: 292.3 MB / 0.5496 GB, free: 17.42 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.00143/0.00143, allocations: 71.03 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2282, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl): time 0.6381/0.8663, allocations: 275.5 MB / 1.054 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03647/0.9028, allocations: 25.15 MB / 1.078 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00447/0.9073, allocations: 103.4 kB / 1.079 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004788/0.9122, allocations: 1.448 MB / 1.08 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01238/0.9246, allocations: 4.222 MB / 1.084 GB, free: 7.234 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.01292/0.9375, allocations: 4.392 MB / 1.088 GB, free: 2.879 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.02459/0.9621, allocations: 17.32 MB / 1.105 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01154/0.9737, allocations: 7.365 MB / 1.112 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01438/0.9881, allocations: 6.509 MB / 1.119 GB, free: 3.641 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009347/0.9975, allocations: 4.999 MB / 1.124 GB, free: 14.64 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002515/1, allocations: 0.7422 MB / 1.124 GB, free: 13.89 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01055/1.011, allocations: 4.605 MB / 1.129 GB, free: 9.281 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003532/1.014, allocations: 2.131 MB / 1.131 GB, free: 7.145 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.008806/1.023, allocations: 3.96 MB / 1.135 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.4972/1.52, allocations: 13.21 MB / 1.148 GB, free: 62.07 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.52, allocations: 0.6562 kB / 1.148 GB, free: 62.07 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.583e-06/1.52, allocations: 0 / 1.148 GB, free: 62.07 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003827/1.521, allocations: 0.9688 kB / 1.148 GB, free: 62.07 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: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.025/1.546, allocations: 7.697 MB / 1.155 GB, free: 59.21 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/1.546, allocations: 9.969 kB / 1.155 GB, free: 59.21 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/1.556, allocations: 1.322 MB / 1.157 GB, free: 58.86 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01598/1.572, allocations: 6.156 MB / 1.163 GB, free: 57.9 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005488/1.573, allocations: 329.8 kB / 1.163 GB, free: 57.89 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002424/1.575, allocations: 454.1 kB / 1.163 GB, free: 57.88 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01659/1.592, allocations: 6.195 MB / 1.169 GB, free: 57.42 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001481/1.592, allocations: 8.703 kB / 1.169 GB, free: 57.42 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000889/1.593, allocations: 173.3 kB / 1.17 GB, free: 57.42 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000244/1.593, allocations: 210.9 kB / 1.17 GB, free: 57.41 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01415/1.607, allocations: 5.453 MB / 1.175 GB, free: 57.36 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.04141/1.649, allocations: 25.59 MB / 1.2 GB, free: 46.69 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005889/1.655, allocations: 4.544 MB / 1.204 GB, free: 45.79 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002924/1.658, allocations: 2.247 MB / 1.207 GB, free: 45.75 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008818/1.659, allocations: 0.9084 MB / 1.208 GB, free: 44.81 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002829/1.661, allocations: 1.929 MB / 1.209 GB, free: 44.68 MB / 0.92 GB Notification: Performance of pre-optimization done (n=287): time 5.35e-06/1.662, allocations: 1.969 kB / 1.209 GB, free: 44.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=291): time 0.01971/1.681, allocations: 10.16 MB / 1.219 GB, free: 42.94 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/1.681, allocations: 189.4 kB / 1.22 GB, free: 42.75 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006544/1.688, allocations: 4.622 MB / 1.224 GB, free: 42.42 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0008131/1.689, allocations: 91.2 kB / 1.224 GB, free: 42.39 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002178/1.691, allocations: 2.419 MB / 1.227 GB, free: 41.4 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.00124/1.692, allocations: 1.012 MB / 1.228 GB, free: 40.66 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/1.693, allocations: 0.6603 MB / 1.228 GB, free: 40.55 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 3.94e-05/1.693, allocations: 309.5 kB / 1.228 GB, free: 40.26 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002443/1.696, allocations: 1.724 MB / 1.23 GB, free: 39.95 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002965/1.699, allocations: 2.601 MB / 1.233 GB, free: 38.77 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005333/1.704, allocations: 4.272 MB / 1.237 GB, free: 37.69 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/1.704, allocations: 3.844 kB / 1.237 GB, free: 37.69 MB / 0.92 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.008037/1.712, allocations: 4.987 MB / 1.242 GB, free: 36.68 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.248e-05/1.712, allocations: 45.09 kB / 1.242 GB, free: 36.64 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.39e-05/1.712, allocations: 23.97 kB / 1.242 GB, free: 36.64 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008289/1.713, allocations: 254.7 kB / 1.242 GB, free: 36.58 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003025/1.716, allocations: 0.7207 MB / 1.243 GB, free: 36.47 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/1.718, allocations: 3.626 MB / 1.246 GB, free: 33.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004838/1.723, allocations: 275.2 kB / 1.247 GB, free: 33.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005416/1.724, allocations: 131.1 kB / 1.247 GB, free: 33.59 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005947/1.73, allocations: 3.619 MB / 1.25 GB, free: 32.59 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003162/1.733, allocations: 2.588 MB / 1.253 GB, free: 29.88 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005302/1.738, allocations: 4.242 MB / 1.257 GB, free: 25.51 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.295e-05/1.738, allocations: 5.312 kB / 1.257 GB, free: 25.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=421) (initialization_lambda0): time 0.008056/1.746, allocations: 4.938 MB / 1.262 GB, free: 20.62 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/1.747, allocations: 45.69 kB / 1.262 GB, free: 20.57 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.874e-05/1.747, allocations: 16 kB / 1.262 GB, free: 20.56 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005535/1.747, allocations: 216.8 kB / 1.262 GB, free: 20.35 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002827/1.75, allocations: 0.6963 MB / 1.263 GB, free: 19.69 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003117/1.753, allocations: 4.509 MB / 1.267 GB, free: 14.95 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005436/1.759, allocations: 307.6 kB / 1.267 GB, free: 14.67 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006591/1.759, allocations: 124 kB / 1.267 GB, free: 14.55 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 8 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (394): * Single equations (assignments): 384 * Array equations: 5 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0009858/1.76, allocations: 417.8 kB / 1.268 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/1.762, allocations: 467.5 kB / 1.268 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006919/1.769, allocations: 4.273 MB / 1.272 GB, free: 9.41 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004896/1.774, allocations: 3.577 MB / 1.276 GB, free: 5.781 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/1.774, allocations: 0 / 1.276 GB, free: 5.781 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003182/1.777, allocations: 1.007 MB / 1.277 GB, free: 4.75 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001681/1.778, allocations: 69.86 kB / 1.277 GB, free: 4.684 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004012/1.782, allocations: 187 kB / 1.277 GB, free: 4.512 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005627/1.783, allocations: 178 kB / 1.277 GB, free: 4.336 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008316/1.791, allocations: 4.476 MB / 1.282 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01083/1.802, allocations: 6.577 MB / 1.288 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002747/1.805, allocations: 1.826 MB / 1.29 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.006548/1.812, allocations: 3.245 MB / 1.293 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of Backend: time 5.92e-07/1.812, allocations: 1.203 kB / 1.293 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01795/1.83, allocations: 6.546 MB / 1.3 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0292/1.859, allocations: 13.34 MB / 1.313 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of Templates: time 0.2051/2.064, allocations: 121.7 MB / 1.431 GB, free: 8.422 MB / 1.076 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1)