Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.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.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.666/1.666, allocations: 288.3 MB / 303.2 MB, free: 8.07 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.001145/0.001145, allocations: 181 kB / 371.8 MB, free: 10.24 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.559/1.559, allocations: 205.4 MB / 0.6306 GB, free: 9.906 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.0009289/0.0009289, allocations: 93.56 kB / 0.7439 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003963, allocations: 15.75 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2108, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.942/5.153, allocations: 2.387 GB / 3.366 GB, free: 304.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/5.153, allocations: 98.58 kB / 3.366 GB, free: 304.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.746/12.9, allocations: 2.317 GB / 5.683 GB, free: 103.9 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.525e-06/12.9, allocations: 0 / 5.683 GB, free: 103.9 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001161/12.9, allocations: 156.6 kB / 5.683 GB, free: 103.9 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: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.02544/12.93, allocations: 6.888 MB / 5.69 GB, free: 101.3 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/12.93, allocations: 5.812 kB / 5.69 GB, free: 101.3 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009982/12.94, allocations: 1.333 MB / 5.691 GB, free: 101 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01782/12.95, allocations: 7.073 MB / 5.698 GB, free: 100.1 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003475/12.95, allocations: 325.5 kB / 5.699 GB, free: 100.1 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001767/12.96, allocations: 450.1 kB / 5.699 GB, free: 100.1 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01291/12.97, allocations: 5.866 MB / 5.705 GB, free: 99.6 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/12.97, allocations: 11.12 kB / 5.705 GB, free: 99.6 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006815/12.97, allocations: 176.3 kB / 5.705 GB, free: 99.6 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002024/12.97, allocations: 205.7 kB / 5.705 GB, free: 99.59 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/12.98, allocations: 5.102 MB / 5.71 GB, free: 99.54 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.03995/13.02, allocations: 25.47 MB / 5.735 GB, free: 89.28 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006141/13.03, allocations: 4.41 MB / 5.739 GB, free: 88.45 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009691/13.03, allocations: 0.9122 MB / 5.74 GB, free: 87.51 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002993/13.03, allocations: 1.911 MB / 5.742 GB, free: 87.37 MB / 1.01 GB Notification: Performance of pre-optimization done (n=284): time 6.021e-06/13.03, allocations: 0 / 5.742 GB, free: 87.37 MB / 1.01 GB Notification: Performance of matching and sorting (n=288): time 0.02259/13.05, allocations: 10.22 MB / 5.752 GB, free: 85.52 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.359e-05/13.05, allocations: 244.9 kB / 5.752 GB, free: 85.27 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00855/13.06, allocations: 4.227 MB / 5.757 GB, free: 84.98 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001027/13.06, allocations: 91.61 kB / 5.757 GB, free: 84.95 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0028/13.07, allocations: 2.454 MB / 5.759 GB, free: 84.16 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001565/13.07, allocations: 1.001 MB / 5.76 GB, free: 83.52 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/13.07, allocations: 61.88 kB / 5.76 GB, free: 83.52 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001968/13.07, allocations: 431 kB / 5.76 GB, free: 83.21 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00244/13.07, allocations: 1.546 MB / 5.762 GB, free: 83.2 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002972/13.07, allocations: 2.421 MB / 5.764 GB, free: 82.36 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002923/13.08, allocations: 2.024 MB / 5.766 GB, free: 81.78 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/13.08, allocations: 3.5 kB / 5.766 GB, free: 81.78 MB / 1.01 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.008225/13.08, allocations: 4.568 MB / 5.771 GB, free: 80.05 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.00109/13.09, allocations: 5.723 MB / 5.776 GB, free: 74.02 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.964e-05/13.09, allocations: 18.33 kB / 5.776 GB, free: 74.02 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006191/13.09, allocations: 195.3 kB / 5.777 GB, free: 73.97 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003091/13.09, allocations: 0.677 MB / 5.777 GB, free: 73.92 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/13.09, allocations: 3.457 MB / 5.781 GB, free: 70.98 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006963/13.1, allocations: 0.5443 MB / 5.781 GB, free: 70.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007349/13.1, allocations: 126.9 kB / 5.781 GB, free: 70.88 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/13.1, allocations: 4.688 kB / 5.781 GB, free: 70.88 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006615/13.11, allocations: 4.148 MB / 5.785 GB, free: 69.28 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.756e-05/13.11, allocations: 14.64 kB / 5.785 GB, free: 69.28 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005883/13.11, allocations: 206.5 kB / 5.785 GB, free: 69.23 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002664/13.11, allocations: 0.6611 MB / 5.786 GB, free: 69.17 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003738/13.11, allocations: 4.107 MB / 5.79 GB, free: 65.74 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00642/13.12, allocations: 0.5385 MB / 5.791 GB, free: 65.66 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000611/13.12, allocations: 124.8 kB / 5.791 GB, free: 65.63 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (354): * Single equations (assignments): 348 * 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.004993/13.13, allocations: 2.179 MB / 5.793 GB, free: 64.62 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001546/13.13, allocations: 465.3 kB / 5.793 GB, free: 64.39 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007327/13.13, allocations: 4.284 MB / 5.798 GB, free: 62.66 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.419e-05/13.13, allocations: 33.05 kB / 5.798 GB, free: 62.66 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/13.13, allocations: 3.938 kB / 5.798 GB, free: 62.66 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004913/13.14, allocations: 3.577 MB / 5.801 GB, free: 61.21 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.02068/13.16, allocations: 10.71 MB / 5.812 GB, free: 56.62 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/13.16, allocations: 7.844 kB / 5.812 GB, free: 56.62 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002982/13.16, allocations: 0.6565 MB / 5.812 GB, free: 56.58 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004797/13.16, allocations: 169.4 kB / 5.812 GB, free: 56.52 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002659/13.16, allocations: 89.84 kB / 5.812 GB, free: 56.48 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/13.17, allocations: 3.353 MB / 5.816 GB, free: 53.58 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/13.17, allocations: 15.56 kB / 5.816 GB, free: 53.57 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009656/13.18, allocations: 7.033 MB / 5.823 GB, free: 50.13 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004199/13.18, allocations: 1.111 MB / 5.824 GB, free: 49.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001725/13.18, allocations: 71.08 kB / 5.824 GB, free: 49.46 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005278/13.19, allocations: 483.6 kB / 5.824 GB, free: 49.39 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004123/13.19, allocations: 175 kB / 5.824 GB, free: 49.36 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003032/13.19, allocations: 112 kB / 5.824 GB, free: 49.34 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.005929/13.19, allocations: 3.331 MB / 5.828 GB, free: 48.18 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.12e-07/13.19, allocations: 0 / 5.828 GB, free: 48.18 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01403/13.21, allocations: 2.981 MB / 5.831 GB, free: 47.81 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 (278): * Single equations (assignments): 270 * 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.005799/13.21, allocations: 3.134 MB / 5.834 GB, free: 46.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01167/13.23, allocations: 6.455 MB / 5.84 GB, free: 43.4 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/13.23, allocations: 5.281 kB / 5.84 GB, free: 43.39 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002913/13.23, allocations: 2.056 MB / 5.842 GB, free: 41.57 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0146/13.24, allocations: 2.94 MB / 5.845 GB, free: 39.63 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02359/13.27, allocations: 14.12 MB / 5.859 GB, free: 26.97 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004885/13.27, allocations: 4.219 MB / 5.863 GB, free: 23.75 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00927/13.28, allocations: 2.405 MB / 5.865 GB, free: 22.17 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001733/13.28, allocations: 362.2 kB / 5.865 GB, free: 21.84 MB / 1.01 GB Notification: Performance of SimCode: time 1.313e-06/13.28, allocations: 0 / 5.865 GB, free: 21.84 MB / 1.01 GB Notification: Performance of Templates: time 0.7049/13.99, allocations: 132 MB / 5.994 GB, free: 121.5 MB / 1.026 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1)