Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.424/2.424, allocations: 285 MB / 292.5 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001528/0.001527, allocations: 176.9 kB / 360.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.939/1.939, allocations: 205.3 MB / 0.6192 GB, free: 12.15 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 86.98 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.301e-05/2.31e-05, allocations: 8 kB / 0.8509 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8117/0.8118, allocations: 115.2 MB / 0.9634 GB, free: 78.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.942/7.754, allocations: 2.367 GB / 3.33 GB, free: 114.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/7.754, allocations: 89.83 kB / 3.33 GB, free: 114.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.14/18.89, allocations: 2.041 GB / 5.372 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.904e-06/18.89, allocations: 0 / 5.372 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.001295/18.89, allocations: 138.4 kB / 5.372 GB, free: 110.6 MB / 0.9792 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.02704/18.92, allocations: 5.175 MB / 5.377 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/18.92, allocations: 9.406 kB / 5.377 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01306/18.93, allocations: 1.233 MB / 5.378 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02571/18.96, allocations: 6.675 MB / 5.384 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003321/18.96, allocations: 127.1 kB / 5.385 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002139/18.96, allocations: 243.7 kB / 5.385 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0152/18.98, allocations: 4.479 MB / 5.389 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01938/18.99, allocations: 4.938 MB / 5.394 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000243/19, allocations: 9.938 kB / 5.394 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001436/19, allocations: 3.844 kB / 5.394 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002775/19, allocations: 190.3 kB / 5.394 GB, free: 107.5 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.05492/19.05, allocations: 23.3 MB / 5.417 GB, free: 98.28 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008726/19.06, allocations: 4.786 MB / 5.422 GB, free: 96.71 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004723/19.07, allocations: 2.015 MB / 5.424 GB, free: 96.67 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001652/19.07, allocations: 0.9983 MB / 5.425 GB, free: 95.63 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004964/19.07, allocations: 1.864 MB / 5.426 GB, free: 95.45 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=272): time 7.043e-06/19.07, allocations: 0 / 5.426 GB, free: 95.45 MB / 0.9792 GB Notification: Performance of matching and sorting (n=276): time 0.03833/19.11, allocations: 9.303 MB / 5.436 GB, free: 92.94 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.918e-05/19.11, allocations: 186.4 kB / 5.436 GB, free: 92.75 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/19.12, allocations: 3.578 MB / 5.439 GB, free: 92.47 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0009702/19.12, allocations: 33.23 kB / 5.439 GB, free: 92.44 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.004047/19.13, allocations: 2.226 MB / 5.441 GB, free: 91.68 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.002021/19.13, allocations: 0.9135 MB / 5.442 GB, free: 91.08 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003133/19.13, allocations: 6.875 kB / 5.442 GB, free: 91.08 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003154/19.13, allocations: 419.1 kB / 5.443 GB, free: 90.77 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003542/19.13, allocations: 1.363 MB / 5.444 GB, free: 90.77 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004764/19.14, allocations: 2.107 MB / 5.446 GB, free: 90.04 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005999/19.14, allocations: 1.908 MB / 5.448 GB, free: 89.99 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.083e-05/19.14, allocations: 6.781 kB / 5.448 GB, free: 89.99 MB / 0.9792 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01317/19.16, allocations: 4.022 MB / 5.452 GB, free: 89.66 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001265/19.16, allocations: 5.374 MB / 5.457 GB, free: 84.13 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-05/19.16, allocations: 13.81 kB / 5.457 GB, free: 84.13 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006604/19.16, allocations: 120 kB / 5.457 GB, free: 84.12 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005639/19.16, allocations: 0.6197 MB / 5.458 GB, free: 84.12 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003407/19.17, allocations: 2.695 MB / 5.46 GB, free: 82.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009109/19.18, allocations: 444.7 kB / 5.461 GB, free: 82.22 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009885/19.18, allocations: 113.7 kB / 5.461 GB, free: 82.22 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/19.18, allocations: 6.688 kB / 5.461 GB, free: 82.22 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01145/19.19, allocations: 3.619 MB / 5.465 GB, free: 82.12 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.932e-05/19.19, allocations: 11.41 kB / 5.465 GB, free: 82.12 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005024/19.19, allocations: 122.1 kB / 5.465 GB, free: 82.11 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005246/19.2, allocations: 0.6133 MB / 5.465 GB, free: 82.11 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002894/19.2, allocations: 2.074 MB / 5.467 GB, free: 80.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008845/19.21, allocations: 433.7 kB / 5.468 GB, free: 80.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009698/19.21, allocations: 119.9 kB / 5.468 GB, free: 80.8 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 () * 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.001187/19.21, allocations: 247.3 kB / 5.468 GB, free: 80.62 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00173/19.21, allocations: 413.8 kB / 5.468 GB, free: 80.41 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/19.22, allocations: 3.794 MB / 5.472 GB, free: 80.21 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.101e-05/19.22, allocations: 31.62 kB / 5.472 GB, free: 80.21 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/19.22, allocations: 0 / 5.472 GB, free: 80.21 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009582/19.23, allocations: 3.217 MB / 5.475 GB, free: 79.95 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.02992/19.26, allocations: 9.782 MB / 5.485 GB, free: 78.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.722e-05/19.26, allocations: 3.531 kB / 5.485 GB, free: 78.75 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006002/19.27, allocations: 0.625 MB / 5.486 GB, free: 78.75 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006083/19.27, allocations: 111.9 kB / 5.486 GB, free: 78.74 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008086/19.27, allocations: 47.27 kB / 5.486 GB, free: 78.74 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003312/19.27, allocations: 2.656 MB / 5.488 GB, free: 76.88 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/19.27, allocations: 6.562 kB / 5.488 GB, free: 76.88 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01654/19.29, allocations: 6.403 MB / 5.495 GB, free: 75.71 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005045/19.3, allocations: 1.033 MB / 5.496 GB, free: 75.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001846/19.3, allocations: 33.12 kB / 5.496 GB, free: 75.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007859/19.31, allocations: 405.3 kB / 5.496 GB, free: 75.39 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008577/19.31, allocations: 173.1 kB / 5.496 GB, free: 75.38 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004987/19.31, allocations: 116.8 kB / 5.496 GB, free: 75.38 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.007399/19.31, allocations: 2.776 MB / 5.499 GB, free: 75.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7.61e-07/19.31, allocations: 3.656 kB / 5.499 GB, free: 75.2 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01781/19.33, allocations: 2.546 MB / 5.501 GB, free: 75.14 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (265): * Single equations (assignments): 257 * 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.006431/19.34, allocations: 3.004 MB / 5.504 GB, free: 74.13 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01413/19.35, allocations: 5.83 MB / 5.51 GB, free: 73.58 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/19.35, allocations: 3.688 kB / 5.51 GB, free: 73.58 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004445/19.36, allocations: 1.923 MB / 5.512 GB, free: 73.34 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02242/19.38, allocations: 2.642 MB / 5.515 GB, free: 73.3 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03185/19.41, allocations: 9.865 MB / 5.524 GB, free: 71.44 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007826/19.42, allocations: 4.033 MB / 5.528 GB, free: 70.61 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.02074/19.44, allocations: 3.831 MB / 5.532 GB, free: 70.57 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001664/19.44, allocations: 257.5 kB / 5.532 GB, free: 70.56 MB / 0.9792 GB Notification: Performance of SimCode: time 1.202e-06/19.44, allocations: 2.094 kB / 5.532 GB, free: 70.56 MB / 0.9792 GB Notification: Performance of Templates: time 0.2498/19.69, allocations: 106.3 MB / 5.636 GB, free: 13.18 MB / 0.9792 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)