Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.465/2.465, allocations: 287.5 MB / 303.2 MB, free: 8.133 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.001373/0.001372, allocations: 176.2 kB / 371.8 MB, free: 10.78 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.998/1.998, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0009198/0.0009196, allocations: 101.3 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.0004748, allocations: 11.66 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2176, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.29/7.508, allocations: 2.368 GB / 3.347 GB, free: 296.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/7.508, allocations: 95.95 kB / 3.347 GB, free: 296.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.22/17.73, allocations: 2.045 GB / 5.392 GB, free: 90.86 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.815e-06/17.73, allocations: 0 / 5.392 GB, free: 90.86 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001112/17.73, allocations: 131.9 kB / 5.392 GB, free: 90.73 MB / 0.9948 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.02985/17.76, allocations: 6.232 MB / 5.398 GB, free: 84.44 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/17.76, allocations: 12.03 kB / 5.398 GB, free: 84.43 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/17.77, allocations: 1.241 MB / 5.4 GB, free: 83.18 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02323/17.79, allocations: 6.684 MB / 5.406 GB, free: 76.44 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004884/17.79, allocations: 311.7 kB / 5.406 GB, free: 76.14 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002151/17.79, allocations: 411.9 kB / 5.407 GB, free: 75.73 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02044/17.81, allocations: 5.627 MB / 5.412 GB, free: 70.03 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002081/17.81, allocations: 7.906 kB / 5.412 GB, free: 70.02 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001459/17.82, allocations: 164 kB / 5.412 GB, free: 69.86 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002676/17.82, allocations: 187.7 kB / 5.413 GB, free: 69.68 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01635/17.83, allocations: 4.922 MB / 5.417 GB, free: 64.75 MB / 0.9948 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.05398/17.89, allocations: 23.92 MB / 5.441 GB, free: 39.42 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008465/17.9, allocations: 3.857 MB / 5.445 GB, free: 35.48 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005082/17.9, allocations: 2.146 MB / 5.447 GB, free: 33.33 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001591/17.9, allocations: 1.006 MB / 5.448 GB, free: 32.12 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005067/17.91, allocations: 1.882 MB / 5.449 GB, free: 30.19 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=273): time 8.256e-06/17.91, allocations: 4 kB / 5.449 GB, free: 30.18 MB / 0.9948 GB Notification: Performance of matching and sorting (n=277): time 0.03287/17.94, allocations: 9.754 MB / 5.459 GB, free: 20.21 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/17.94, allocations: 136.9 kB / 5.459 GB, free: 20.05 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01056/17.95, allocations: 4.219 MB / 5.463 GB, free: 15.81 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009139/17.95, allocations: 85.7 kB / 5.463 GB, free: 15.72 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003755/17.96, allocations: 2.218 MB / 5.465 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001766/17.96, allocations: 0.9551 MB / 5.466 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003012/17.96, allocations: 52 kB / 5.466 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002295/17.96, allocations: 424.1 kB / 5.467 GB, free: 12.05 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003835/17.96, allocations: 1.477 MB / 5.468 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005093/17.97, allocations: 2.242 MB / 5.47 GB, free: 8.059 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008898/17.98, allocations: 3.812 MB / 5.474 GB, free: 4.031 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/17.98, allocations: 7.938 kB / 5.474 GB, free: 4.023 MB / 0.9948 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.801/18.78, allocations: 4.299 MB / 5.478 GB, free: 130 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003827/18.78, allocations: 0.5015 MB / 5.479 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.743e-05/18.78, allocations: 15.45 kB / 5.479 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007633/18.78, allocations: 120 kB / 5.479 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006155/18.78, allocations: 0.6313 MB / 5.48 GB, free: 129.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003837/18.79, allocations: 2.739 MB / 5.482 GB, free: 127.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00937/18.8, allocations: 0.4951 MB / 5.483 GB, free: 127.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/18.8, allocations: 116 kB / 5.483 GB, free: 127.6 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/18.8, allocations: 4.156 kB / 5.483 GB, free: 127.6 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01407/18.81, allocations: 3.964 MB / 5.487 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.195e-05/18.81, allocations: 12.31 kB / 5.487 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005921/18.81, allocations: 133 kB / 5.487 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005631/18.82, allocations: 0.6028 MB / 5.488 GB, free: 127.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003329/18.82, allocations: 2.146 MB / 5.49 GB, free: 126.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00907/18.83, allocations: 493.2 kB / 5.49 GB, free: 126.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001063/18.83, allocations: 111.8 kB / 5.49 GB, free: 126.1 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 14 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 332 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006865/18.84, allocations: 2.161 MB / 5.492 GB, free: 125.8 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001949/18.84, allocations: 424.3 kB / 5.493 GB, free: 125.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01527/18.86, allocations: 4.119 MB / 5.497 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.096e-05/18.86, allocations: 27.66 kB / 5.497 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/18.86, allocations: 1.094 kB / 5.497 GB, free: 125.6 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01139/18.87, allocations: 3.466 MB / 5.5 GB, free: 125.2 MB / 0.9948 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 postOpt removeSimpleEquations (simulation): time 0.03197/18.9, allocations: 10.41 MB / 5.51 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.386e-05/18.9, allocations: 4.281 kB / 5.51 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005959/18.91, allocations: 0.6256 MB / 5.511 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005685/18.91, allocations: 109.7 kB / 5.511 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007382/18.91, allocations: 82.98 kB / 5.511 GB, free: 124.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003228/18.91, allocations: 2.73 MB / 5.514 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.355e-06/18.91, allocations: 10.06 kB / 5.514 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0179/18.93, allocations: 6.373 MB / 5.52 GB, free: 121.7 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005126/18.93, allocations: 1.038 MB / 5.521 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002139/18.94, allocations: 73.5 kB / 5.521 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008081/18.95, allocations: 451.4 kB / 5.522 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009429/18.95, allocations: 169.5 kB / 5.522 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007395/18.95, allocations: 109.5 kB / 5.522 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.009652/18.96, allocations: 2.988 MB / 5.525 GB, free: 121.4 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.21e-07/18.96, allocations: 2.625 kB / 5.525 GB, free: 121.4 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01841/18.97, allocations: 2.729 MB / 5.527 GB, free: 121.4 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 18 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * 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 (266): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007182/18.98, allocations: 2.772 MB / 5.53 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01785/19, allocations: 6.134 MB / 5.536 GB, free: 119.9 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.667e-05/19, allocations: 5.031 kB / 5.536 GB, free: 119.9 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.005283/19.01, allocations: 2.047 MB / 5.538 GB, free: 119.7 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03045/19.04, allocations: 2.804 MB / 5.541 GB, free: 119.6 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03372/19.07, allocations: 13.29 MB / 5.554 GB, free: 115.1 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008378/19.08, allocations: 3.942 MB / 5.558 GB, free: 114.3 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.01465/19.09, allocations: 2.385 MB / 5.56 GB, free: 114.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002499/19.1, allocations: 327.6 kB / 5.56 GB, free: 114.2 MB / 0.9948 GB Notification: Performance of SimCode: time 1.193e-06/19.1, allocations: 0 / 5.56 GB, free: 114.2 MB / 0.9948 GB Notification: Performance of Templates: time 0.2773/19.37, allocations: 122.6 MB / 5.68 GB, free: 108.3 MB / 0.9948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)