Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.719/1.719, allocations: 288.3 MB / 303.2 MB, free: 8.188 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.00135/0.00135, allocations: 189 kB / 371.8 MB, free: 10.27 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.625/1.625, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0008888/0.0008892, allocations: 105 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004474/0.0004474, allocations: 19.19 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2228, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.113/5.335, allocations: 2.368 GB / 3.347 GB, free: 268.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/5.336, allocations: 94.64 kB / 3.347 GB, free: 268.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.935/12.27, allocations: 2.063 GB / 5.41 GB, free: 62.96 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.523e-06/12.27, allocations: 3.938 kB / 5.41 GB, free: 62.96 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001132/12.27, allocations: 135.9 kB / 5.41 GB, free: 62.82 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.02736/12.3, allocations: 6.287 MB / 5.416 GB, free: 56.48 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/12.3, allocations: 12.56 kB / 5.416 GB, free: 56.46 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009248/12.31, allocations: 1.242 MB / 5.417 GB, free: 55.22 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01842/12.33, allocations: 6.714 MB / 5.424 GB, free: 48.44 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003858/12.33, allocations: 303.8 kB / 5.424 GB, free: 48.14 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001931/12.33, allocations: 411.9 kB / 5.424 GB, free: 47.74 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01588/12.34, allocations: 5.588 MB / 5.43 GB, free: 42.07 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002651/12.35, allocations: 15.84 kB / 5.43 GB, free: 42.06 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001496/12.35, allocations: 164 kB / 5.43 GB, free: 41.9 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002023/12.35, allocations: 191.7 kB / 5.43 GB, free: 41.71 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01179/12.36, allocations: 4.926 MB / 5.435 GB, free: 36.78 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.0433/12.4, allocations: 23.98 MB / 5.459 GB, free: 11.38 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006215/12.41, allocations: 3.862 MB / 5.462 GB, free: 7.445 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/12.41, allocations: 0.9981 MB / 5.463 GB, free: 6.242 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00395/12.41, allocations: 1.874 MB / 5.465 GB, free: 4.316 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=273): time 6.362e-06/12.41, allocations: 0 / 5.465 GB, free: 4.316 MB / 0.9948 GB Notification: Performance of matching and sorting (n=277): time 0.6008/13.01, allocations: 9.912 MB / 5.475 GB, free: 123.1 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.785e-05/13.01, allocations: 138.3 kB / 5.475 GB, free: 122.9 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009584/13.02, allocations: 3.904 MB / 5.479 GB, free: 122.7 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009143/13.02, allocations: 87.2 kB / 5.479 GB, free: 122.6 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002939/13.03, allocations: 2.205 MB / 5.481 GB, free: 122.1 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001667/13.03, allocations: 0.9513 MB / 5.482 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/13.03, allocations: 54.59 kB / 5.482 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002311/13.03, allocations: 420.7 kB / 5.482 GB, free: 121.3 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002805/13.03, allocations: 1.476 MB / 5.484 GB, free: 121.3 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003434/13.04, allocations: 2.227 MB / 5.486 GB, free: 120.6 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00346/13.04, allocations: 1.947 MB / 5.488 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-05/13.04, allocations: 5.656 kB / 5.488 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.009399/13.05, allocations: 4.315 MB / 5.492 GB, free: 120.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001088/13.05, allocations: 5.198 MB / 5.497 GB, free: 114.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-05/13.05, allocations: 11.5 kB / 5.497 GB, free: 114.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005138/13.05, allocations: 124.3 kB / 5.497 GB, free: 114.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003327/13.05, allocations: 0.624 MB / 5.498 GB, free: 114.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/13.06, allocations: 2.778 MB / 5.501 GB, free: 112.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006666/13.06, allocations: 0.4935 MB / 5.501 GB, free: 112.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007502/13.06, allocations: 121.1 kB / 5.501 GB, free: 112.8 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/13.06, allocations: 2.969 kB / 5.501 GB, free: 112.8 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009256/13.07, allocations: 3.961 MB / 5.505 GB, free: 112.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.382e-05/13.07, allocations: 11.31 kB / 5.505 GB, free: 112.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003959/13.07, allocations: 124.3 kB / 5.505 GB, free: 112.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002991/13.08, allocations: 0.6106 MB / 5.506 GB, free: 112.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/13.08, allocations: 2.178 MB / 5.508 GB, free: 111.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006239/13.09, allocations: 496.8 kB / 5.508 GB, free: 111.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007553/13.09, allocations: 116.2 kB / 5.509 GB, free: 111.3 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.00579/13.09, allocations: 2.151 MB / 5.511 GB, free: 111.1 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001926/13.09, allocations: 428.6 kB / 5.511 GB, free: 110.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009426/13.1, allocations: 4.12 MB / 5.515 GB, free: 110.6 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.271e-05/13.1, allocations: 29.97 kB / 5.515 GB, free: 110.6 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.676e-05/13.1, allocations: 1.469 kB / 5.515 GB, free: 110.6 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006441/13.11, allocations: 3.453 MB / 5.518 GB, free: 110.3 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.02781/13.14, allocations: 10.44 MB / 5.529 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-05/13.14, allocations: 4.812 kB / 5.529 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003427/13.14, allocations: 0.6339 MB / 5.529 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004147/13.14, allocations: 111.2 kB / 5.529 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004953/13.14, allocations: 86.97 kB / 5.529 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002195/13.14, allocations: 2.763 MB / 5.532 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/13.14, allocations: 10.72 kB / 5.532 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/13.16, allocations: 6.796 MB / 5.539 GB, free: 105.9 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004539/13.16, allocations: 1.057 MB / 5.54 GB, free: 105.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001695/13.16, allocations: 75.94 kB / 5.54 GB, free: 105.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00518/13.17, allocations: 453 kB / 5.54 GB, free: 105.6 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004527/13.17, allocations: 171.9 kB / 5.541 GB, free: 105.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003773/13.17, allocations: 108.4 kB / 5.541 GB, free: 105.6 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.006508/13.17, allocations: 3.089 MB / 5.544 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.51e-07/13.17, allocations: 3.781 kB / 5.544 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01365/13.19, allocations: 2.748 MB / 5.546 GB, free: 105.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.005139/13.19, allocations: 2.789 MB / 5.549 GB, free: 104.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01141/13.2, allocations: 6.127 MB / 5.555 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/13.2, allocations: 3.656 kB / 5.555 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003585/13.21, allocations: 2.055 MB / 5.557 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01412/13.22, allocations: 2.79 MB / 5.56 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02603/13.25, allocations: 13.28 MB / 5.573 GB, free: 99.08 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008055/13.26, allocations: 4.029 MB / 5.577 GB, free: 98.25 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.01327/13.27, allocations: 2.38 MB / 5.579 GB, free: 98.21 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002287/13.27, allocations: 335.8 kB / 5.579 GB, free: 98.2 MB / 0.9948 GB Notification: Performance of SimCode: time 1.373e-06/13.27, allocations: 0 / 5.579 GB, free: 98.2 MB / 0.9948 GB Notification: Performance of Templates: time 0.1765/13.45, allocations: 123.1 MB / 5.7 GB, free: 92.12 MB / 0.9948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)