Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.729/1.729, allocations: 292.6 MB / 307.6 MB, free: 5.207 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.001255/0.001255, allocations: 184 kB / 377.1 MB, free: 1.543 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.744/1.744, allocations: 205.4 MB / 0.6367 GB, free: 9.48 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009362/0.0009362, allocations: 89.34 kB / 0.751 GB, free: 62.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.000441, allocations: 8 kB / 0.8748 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2836, allocations: 116.3 MB / 0.9884 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.635/6.919, allocations: 2.369 GB / 3.357 GB, free: 175.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/6.919, allocations: 94.89 kB / 3.357 GB, free: 175.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.464/15.38, allocations: 2.063 GB / 5.42 GB, free: 97.02 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.717e-06/15.38, allocations: 0 / 5.42 GB, free: 97.02 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0009979/15.38, allocations: 138.6 kB / 5.42 GB, free: 97.02 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.02553/15.41, allocations: 6.291 MB / 5.426 GB, free: 95.08 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/15.41, allocations: 10.98 kB / 5.426 GB, free: 95.08 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009731/15.42, allocations: 1.247 MB / 5.427 GB, free: 94.77 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01942/15.44, allocations: 6.711 MB / 5.434 GB, free: 94.02 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000419/15.44, allocations: 305.8 kB / 5.434 GB, free: 94.01 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002239/15.44, allocations: 410.2 kB / 5.434 GB, free: 94.01 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/15.46, allocations: 5.593 MB / 5.44 GB, free: 93.67 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001552/15.46, allocations: 9.906 kB / 5.44 GB, free: 93.66 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009417/15.46, allocations: 164.9 kB / 5.44 GB, free: 93.66 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000195/15.46, allocations: 194.1 kB / 5.44 GB, free: 93.66 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01276/15.48, allocations: 4.917 MB / 5.445 GB, free: 93.62 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.04517/15.52, allocations: 23.98 MB / 5.468 GB, free: 84.32 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006524/15.53, allocations: 3.852 MB / 5.472 GB, free: 83.89 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/15.53, allocations: 1.009 MB / 5.473 GB, free: 82.86 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00426/15.53, allocations: 1.874 MB / 5.475 GB, free: 82.7 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=273): time 6.062e-06/15.53, allocations: 0 / 5.475 GB, free: 82.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=277): time 0.02933/15.56, allocations: 9.911 MB / 5.485 GB, free: 80.77 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/15.56, allocations: 137.9 kB / 5.485 GB, free: 80.64 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01213/15.57, allocations: 3.914 MB / 5.489 GB, free: 80.36 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009809/15.58, allocations: 90.42 kB / 5.489 GB, free: 80.32 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003883/15.58, allocations: 2.209 MB / 5.491 GB, free: 79.61 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002017/15.58, allocations: 0.9489 MB / 5.492 GB, free: 79 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006861/15.58, allocations: 54.44 kB / 5.492 GB, free: 79 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003728/15.58, allocations: 417.4 kB / 5.492 GB, free: 78.7 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003164/15.59, allocations: 1.471 MB / 5.494 GB, free: 78.69 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004073/15.59, allocations: 2.233 MB / 5.496 GB, free: 77.96 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004584/15.59, allocations: 1.953 MB / 5.498 GB, free: 77.85 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.439e-05/15.59, allocations: 3.031 kB / 5.498 GB, free: 77.85 MB / 0.9948 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.0111/15.61, allocations: 4.304 MB / 5.502 GB, free: 77.45 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001245/15.61, allocations: 5.202 MB / 5.507 GB, free: 72.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.757e-05/15.61, allocations: 15.28 kB / 5.507 GB, free: 72.14 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005403/15.61, allocations: 116.3 kB / 5.507 GB, free: 72.13 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003547/15.61, allocations: 0.6208 MB / 5.508 GB, free: 72.13 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002715/15.61, allocations: 2.785 MB / 5.511 GB, free: 70.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007655/15.62, allocations: 0.4981 MB / 5.511 GB, free: 70.17 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/15.62, allocations: 117.5 kB / 5.511 GB, free: 70.17 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/15.62, allocations: 7.188 kB / 5.511 GB, free: 70.17 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01063/15.63, allocations: 3.961 MB / 5.515 GB, free: 70.01 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-05/15.63, allocations: 19.34 kB / 5.515 GB, free: 70.01 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004789/15.63, allocations: 121.5 kB / 5.515 GB, free: 70 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00325/15.64, allocations: 0.6089 MB / 5.516 GB, free: 70 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/15.64, allocations: 2.177 MB / 5.518 GB, free: 68.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006851/15.65, allocations: 493.9 kB / 5.518 GB, free: 68.63 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009704/15.65, allocations: 114.1 kB / 5.518 GB, free: 68.63 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.006282/15.65, allocations: 2.162 MB / 5.521 GB, free: 68.37 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002373/15.66, allocations: 424.2 kB / 5.521 GB, free: 68.16 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01504/15.67, allocations: 4.113 MB / 5.525 GB, free: 67.89 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.173e-05/15.67, allocations: 28.81 kB / 5.525 GB, free: 67.89 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-05/15.67, allocations: 5.859 kB / 5.525 GB, free: 67.89 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007731/15.68, allocations: 3.458 MB / 5.528 GB, free: 67.57 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.03167/15.71, allocations: 10.45 MB / 5.539 GB, free: 66.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-05/15.71, allocations: 6.031 kB / 5.539 GB, free: 66.43 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003444/15.71, allocations: 0.6241 MB / 5.539 GB, free: 66.43 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004589/15.71, allocations: 118.2 kB / 5.539 GB, free: 66.42 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007026/15.72, allocations: 87.02 kB / 5.539 GB, free: 66.42 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002593/15.72, allocations: 2.756 MB / 5.542 GB, free: 64.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/15.72, allocations: 6.469 kB / 5.542 GB, free: 64.5 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/15.73, allocations: 6.802 MB / 5.549 GB, free: 63.21 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005089/15.74, allocations: 1.052 MB / 5.55 GB, free: 62.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002174/15.74, allocations: 73.02 kB / 5.55 GB, free: 62.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006338/15.75, allocations: 453.6 kB / 5.55 GB, free: 62.89 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009056/15.75, allocations: 177.6 kB / 5.55 GB, free: 62.88 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007428/15.75, allocations: 109.3 kB / 5.551 GB, free: 62.88 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.008189/15.76, allocations: 3.09 MB / 5.554 GB, free: 62.7 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.546e-06/15.76, allocations: 0 / 5.554 GB, free: 62.7 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01624/15.77, allocations: 2.747 MB / 5.556 GB, free: 62.64 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.006285/15.78, allocations: 2.793 MB / 5.559 GB, free: 61.66 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01219/15.79, allocations: 6.134 MB / 5.565 GB, free: 61.08 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/15.79, allocations: 5.281 kB / 5.565 GB, free: 61.08 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003594/15.79, allocations: 2.051 MB / 5.567 GB, free: 60.82 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01487/15.81, allocations: 2.788 MB / 5.57 GB, free: 60.77 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02688/15.84, allocations: 13.28 MB / 5.583 GB, free: 56.18 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005848/15.84, allocations: 4.027 MB / 5.587 GB, free: 55.36 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.009018/15.85, allocations: 2.38 MB / 5.589 GB, free: 55.31 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/15.85, allocations: 330.2 kB / 5.589 GB, free: 55.3 MB / 0.9948 GB Notification: Performance of SimCode: time 1.082e-06/15.85, allocations: 0 / 5.589 GB, free: 55.3 MB / 0.9948 GB Notification: Performance of Templates: time 0.1821/16.03, allocations: 123.1 MB / 5.709 GB, free: 26.48 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)