Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.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.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.528/2.528, allocations: 287.5 MB / 303.2 MB, free: 8.117 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.001358/0.001358, allocations: 180.1 kB / 371.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.035/2.035, allocations: 205.4 MB / 0.6305 GB, free: 10.58 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.001019/0.001019, allocations: 98.28 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004668, allocations: 12.06 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2061, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.536/7.742, allocations: 2.395 GB / 3.374 GB, free: 266.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/7.742, allocations: 99.95 kB / 3.374 GB, free: 266.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 13.79/21.53, allocations: 2.648 GB / 6.022 GB, free: 101.8 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.826e-06/21.53, allocations: 0 / 6.022 GB, free: 101.8 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001431/21.53, allocations: 165.4 kB / 6.022 GB, free: 101.8 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.03421/21.56, allocations: 7.408 MB / 6.029 GB, free: 99.11 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/21.56, allocations: 9.469 kB / 6.03 GB, free: 99.11 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01409/21.58, allocations: 1.496 MB / 6.031 GB, free: 98.73 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02591/21.6, allocations: 7.456 MB / 6.038 GB, free: 97.61 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005598/21.6, allocations: 378.2 kB / 6.039 GB, free: 97.6 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002506/21.61, allocations: 0.5007 MB / 6.039 GB, free: 97.59 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02379/21.63, allocations: 6.757 MB / 6.046 GB, free: 97.11 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002661/21.63, allocations: 12.53 kB / 6.046 GB, free: 97.11 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001799/21.63, allocations: 198.8 kB / 6.046 GB, free: 97.11 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003142/21.63, allocations: 222.5 kB / 6.046 GB, free: 97.1 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02045/21.65, allocations: 5.887 MB / 6.052 GB, free: 97.05 MB / 1.01 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.06379/21.72, allocations: 28.02 MB / 6.079 GB, free: 86.65 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009563/21.73, allocations: 4.539 MB / 6.084 GB, free: 85.82 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006134/21.73, allocations: 2.547 MB / 6.086 GB, free: 85.79 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001424/21.73, allocations: 0.9206 MB / 6.087 GB, free: 84.84 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005812/21.74, allocations: 2.223 MB / 6.089 GB, free: 84.71 MB / 1.01 GB Notification: Performance of pre-optimization done (n=324): time 6.933e-06/21.74, allocations: 0 / 6.089 GB, free: 84.71 MB / 1.01 GB Notification: Performance of matching and sorting (n=328): time 0.04402/21.78, allocations: 11.74 MB / 6.101 GB, free: 82.85 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/21.79, allocations: 249.6 kB / 6.101 GB, free: 82.59 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01477/21.8, allocations: 4.972 MB / 6.106 GB, free: 82.27 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001122/21.8, allocations: 98.05 kB / 6.106 GB, free: 82.23 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.004826/21.81, allocations: 2.731 MB / 6.109 GB, free: 81.36 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002185/21.81, allocations: 1.135 MB / 6.11 GB, free: 80.63 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004041/21.81, allocations: 69.44 kB / 6.11 GB, free: 80.63 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003191/21.81, allocations: 443.4 kB / 6.11 GB, free: 80.32 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00526/21.81, allocations: 1.803 MB / 6.112 GB, free: 79.9 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006551/21.82, allocations: 2.729 MB / 6.115 GB, free: 78.3 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01203/21.83, allocations: 4.547 MB / 6.119 GB, free: 76.11 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.528e-05/21.83, allocations: 3.25 kB / 6.119 GB, free: 76.11 MB / 1.01 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01738/21.85, allocations: 5.223 MB / 6.124 GB, free: 74.15 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003565/21.85, allocations: 0.5241 MB / 6.125 GB, free: 73.49 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.288e-05/21.85, allocations: 18.03 kB / 6.125 GB, free: 73.49 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/21.85, allocations: 237.5 kB / 6.125 GB, free: 73.43 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006637/21.86, allocations: 0.7751 MB / 6.126 GB, free: 73.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00393/21.86, allocations: 3.418 MB / 6.129 GB, free: 70.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/21.87, allocations: 0.5938 MB / 6.13 GB, free: 70.41 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/21.87, allocations: 133.5 kB / 6.13 GB, free: 70.38 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/21.87, allocations: 6.656 kB / 6.13 GB, free: 70.38 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01366/21.89, allocations: 4.739 MB / 6.134 GB, free: 68.66 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.236e-05/21.89, allocations: 13.56 kB / 6.134 GB, free: 68.66 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008778/21.89, allocations: 204.9 kB / 6.134 GB, free: 68.61 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006326/21.9, allocations: 0.7531 MB / 6.135 GB, free: 68.58 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005755/21.9, allocations: 4.073 MB / 6.139 GB, free: 65.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01006/21.91, allocations: 0.5743 MB / 6.14 GB, free: 65.11 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00104/21.91, allocations: 138.9 kB / 6.14 GB, free: 65.08 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 392 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.007689/21.92, allocations: 2.418 MB / 6.142 GB, free: 64.01 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001911/21.92, allocations: 0.4938 MB / 6.143 GB, free: 63.76 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/21.94, allocations: 4.944 MB / 6.148 GB, free: 61.8 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.263e-05/21.94, allocations: 35.55 kB / 6.148 GB, free: 61.8 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/21.94, allocations: 2.844 kB / 6.148 GB, free: 61.8 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01172/21.95, allocations: 4.135 MB / 6.152 GB, free: 60.15 MB / 1.01 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.03487/21.98, allocations: 12.1 MB / 6.163 GB, free: 55.02 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/21.98, allocations: 3.469 kB / 6.163 GB, free: 55.02 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006447/21.99, allocations: 0.7446 MB / 6.164 GB, free: 54.97 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007137/21.99, allocations: 175.1 kB / 6.164 GB, free: 54.91 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003914/21.99, allocations: 95.52 kB / 6.164 GB, free: 54.87 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003361/21.99, allocations: 3.322 MB / 6.168 GB, free: 51.98 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/21.99, allocations: 7.875 kB / 6.168 GB, free: 51.97 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02275/22.02, allocations: 7.605 MB / 6.175 GB, free: 48.73 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006491/22.02, allocations: 1.194 MB / 6.176 GB, free: 48.05 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002325/22.03, allocations: 86.22 kB / 6.176 GB, free: 48 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008842/22.03, allocations: 0.5047 MB / 6.177 GB, free: 47.93 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001011/22.04, allocations: 202.5 kB / 6.177 GB, free: 47.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005393/22.04, allocations: 117.8 kB / 6.177 GB, free: 47.88 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.009873/22.05, allocations: 3.489 MB / 6.181 GB, free: 46.67 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.92e-07/22.05, allocations: 3.938 kB / 6.181 GB, free: 46.67 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02101/22.07, allocations: 3.161 MB / 6.184 GB, free: 46.28 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],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,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00712/22.07, allocations: 3.206 MB / 6.187 GB, free: 44.93 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.02038/22.09, allocations: 7.367 MB / 6.194 GB, free: 39.12 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/22.1, allocations: 1.281 kB / 6.194 GB, free: 39.12 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.006349/22.1, allocations: 2.353 MB / 6.196 GB, free: 37.05 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03267/22.13, allocations: 3.088 MB / 6.199 GB, free: 34.99 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03786/22.17, allocations: 15.69 MB / 6.215 GB, free: 21.18 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009156/22.18, allocations: 4.546 MB / 6.219 GB, free: 17.64 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0159/22.2, allocations: 2.666 MB / 6.222 GB, free: 15.91 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002862/22.2, allocations: 389.9 kB / 6.222 GB, free: 15.55 MB / 1.01 GB Notification: Performance of SimCode: time 1.072e-06/22.2, allocations: 0 / 6.222 GB, free: 15.55 MB / 1.01 GB Notification: Performance of Templates: time 1.155/23.35, allocations: 138.5 MB / 6.357 GB, free: 117.9 MB / 1.026 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)