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: 284.8 MB / 297.3 MB, free: 6.367 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.001484/0.001483, allocations: 176.9 kB / 365.7 MB, free: 2.574 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.924/1.924, allocations: 205.1 MB / 0.6241 GB, free: 8.172 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.001084/0.001083, allocations: 94.61 kB / 0.7372 GB, free: 40.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.316e-05/4.321e-05, allocations: 4 kB / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7846/0.7846, allocations: 115.2 MB / 0.97 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.928/7.713, allocations: 2.367 GB / 3.337 GB, free: 88.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/7.713, allocations: 85.3 kB / 3.337 GB, free: 88.16 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.1/18.82, allocations: 2.059 GB / 5.397 GB, free: 109.5 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.264e-06/18.82, allocations: 0 / 5.397 GB, free: 109.5 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001289/18.82, allocations: 133.6 kB / 5.397 GB, free: 109.5 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.0254/18.84, allocations: 5.178 MB / 5.402 GB, free: 107.7 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/18.84, allocations: 7.75 kB / 5.402 GB, free: 107.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/18.86, allocations: 1.237 MB / 5.403 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02457/18.88, allocations: 6.674 MB / 5.41 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005256/18.88, allocations: 305.8 kB / 5.41 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002217/18.88, allocations: 418.6 kB / 5.41 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02038/18.9, allocations: 5.516 MB / 5.416 GB, free: 106.2 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002859/18.91, allocations: 6.562 kB / 5.416 GB, free: 106.2 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001756/18.91, allocations: 164.5 kB / 5.416 GB, free: 106.2 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002767/18.91, allocations: 188.5 kB / 5.416 GB, free: 106.2 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0164/18.92, allocations: 4.821 MB / 5.421 GB, free: 106.2 MB / 0.9948 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.05773/18.98, allocations: 23.99 MB / 5.444 GB, free: 96.87 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008953/18.99, allocations: 3.83 MB / 5.448 GB, free: 96.4 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005354/19, allocations: 2.114 MB / 5.45 GB, free: 96.36 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001751/19, allocations: 1.006 MB / 5.451 GB, free: 95.33 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005563/19, allocations: 1.851 MB / 5.453 GB, free: 95.16 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=273): time 7.374e-06/19, allocations: 0 / 5.453 GB, free: 95.16 MB / 0.9948 GB Notification: Performance of matching and sorting (n=277): time 0.03112/19.03, allocations: 8.221 MB / 5.461 GB, free: 93.54 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.066e-05/19.03, allocations: 138.7 kB / 5.461 GB, free: 93.41 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01089/19.05, allocations: 3.861 MB / 5.465 GB, free: 93.11 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009271/19.05, allocations: 87.8 kB / 5.465 GB, free: 93.08 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003943/19.05, allocations: 2.208 MB / 5.467 GB, free: 92.36 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001915/19.05, allocations: 0.9574 MB / 5.468 GB, free: 91.75 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003718/19.05, allocations: 51.72 kB / 5.468 GB, free: 91.75 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003099/19.05, allocations: 424.6 kB / 5.468 GB, free: 91.44 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003986/19.06, allocations: 1.445 MB / 5.47 GB, free: 91.43 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005024/19.06, allocations: 2.2 MB / 5.472 GB, free: 90.71 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005076/19.07, allocations: 1.925 MB / 5.474 GB, free: 90.59 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-05/19.07, allocations: 10.94 kB / 5.474 GB, free: 90.59 MB / 0.9948 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01331/19.08, allocations: 4.242 MB / 5.478 GB, free: 90.19 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001172/19.08, allocations: 5.202 MB / 5.483 GB, free: 84.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-05/19.08, allocations: 11.06 kB / 5.483 GB, free: 84.87 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006838/19.08, allocations: 124.2 kB / 5.483 GB, free: 84.86 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005769/19.09, allocations: 0.6183 MB / 5.484 GB, free: 84.86 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003355/19.09, allocations: 2.74 MB / 5.486 GB, free: 82.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009217/19.1, allocations: 0.495 MB / 5.487 GB, free: 82.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009402/19.1, allocations: 121.2 kB / 5.487 GB, free: 82.9 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/19.1, allocations: 3.938 kB / 5.487 GB, free: 82.9 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01104/19.11, allocations: 3.901 MB / 5.491 GB, free: 82.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-05/19.11, allocations: 14.38 kB / 5.491 GB, free: 82.74 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005213/19.11, allocations: 125.6 kB / 5.491 GB, free: 82.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00543/19.12, allocations: 0.6173 MB / 5.492 GB, free: 82.73 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/19.12, allocations: 2.129 MB / 5.494 GB, free: 81.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008939/19.13, allocations: 495.7 kB / 5.494 GB, free: 81.37 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009145/19.13, allocations: 113.4 kB / 5.494 GB, free: 81.37 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 () * 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.001314/19.13, allocations: 356.2 kB / 5.495 GB, free: 81.18 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001768/19.14, allocations: 425.7 kB / 5.495 GB, free: 80.97 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/19.15, allocations: 4.062 MB / 5.499 GB, free: 80.7 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.714e-05/19.15, allocations: 26.5 kB / 5.499 GB, free: 80.7 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/19.15, allocations: 3.281 kB / 5.499 GB, free: 80.7 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009773/19.16, allocations: 3.421 MB / 5.502 GB, free: 80.38 MB / 0.9948 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.03183/19.19, allocations: 10.4 MB / 5.512 GB, free: 79.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/19.19, allocations: 3.75 kB / 5.512 GB, free: 79.23 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005966/19.2, allocations: 0.6273 MB / 5.513 GB, free: 79.23 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005693/19.2, allocations: 113.1 kB / 5.513 GB, free: 79.21 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007079/19.2, allocations: 86.16 kB / 5.513 GB, free: 79.21 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003058/19.2, allocations: 2.736 MB / 5.516 GB, free: 77.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/19.2, allocations: 7.922 kB / 5.516 GB, free: 77.29 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01626/19.22, allocations: 6.733 MB / 5.522 GB, free: 74.83 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005027/19.22, allocations: 1.056 MB / 5.524 GB, free: 74.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00198/19.22, allocations: 80.83 kB / 5.524 GB, free: 74.19 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007991/19.23, allocations: 446.4 kB / 5.524 GB, free: 74.13 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008717/19.23, allocations: 173.9 kB / 5.524 GB, free: 74.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005128/19.23, allocations: 111.9 kB / 5.524 GB, free: 74.08 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.008607/19.24, allocations: 3.042 MB / 5.527 GB, free: 72.96 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8.62e-07/19.24, allocations: 2.406 kB / 5.527 GB, free: 72.96 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01717/19.26, allocations: 2.746 MB / 5.53 GB, free: 72.63 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) * 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.006383/19.27, allocations: 2.779 MB / 5.533 GB, free: 71.57 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01589/19.28, allocations: 6.174 MB / 5.539 GB, free: 69.14 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/19.28, allocations: 5.906 kB / 5.539 GB, free: 69.14 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.005116/19.29, allocations: 2.026 MB / 5.541 GB, free: 68.29 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02388/19.31, allocations: 2.797 MB / 5.543 GB, free: 67.85 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02978/19.34, allocations: 9.885 MB / 5.553 GB, free: 64.36 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00818/19.35, allocations: 4.031 MB / 5.557 GB, free: 62.81 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.02188/19.37, allocations: 3.949 MB / 5.561 GB, free: 62.59 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001724/19.37, allocations: 256 kB / 5.561 GB, free: 62.57 MB / 0.9948 GB Notification: Performance of SimCode: time 1.072e-06/19.37, allocations: 0 / 5.561 GB, free: 62.57 MB / 0.9948 GB Notification: Performance of Templates: time 1.133/20.51, allocations: 136.4 MB / 5.694 GB, free: 121.8 MB / 1.01 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)