Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.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.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.465/2.465, allocations: 287.5 MB / 303.2 MB, free: 8.172 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.001351/0.001351, allocations: 180.5 kB / 371.8 MB, free: 10.84 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.001/2.001, allocations: 205.4 MB / 0.6305 GB, free: 10.61 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.000915/0.0009147, allocations: 95.8 kB / 0.7438 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006295/0.0006297, allocations: 15.8 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1989, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.282/7.481, allocations: 2.387 GB / 3.366 GB, free: 274.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/7.481, allocations: 99.95 kB / 3.366 GB, free: 274.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.66/19.14, allocations: 2.297 GB / 5.663 GB, free: 109.2 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.114e-06/19.14, allocations: 0 / 5.663 GB, free: 109.2 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001232/19.15, allocations: 145 kB / 5.663 GB, free: 109.1 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.03165/19.18, allocations: 6.824 MB / 5.67 GB, free: 106.5 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/19.18, allocations: 11.34 kB / 5.67 GB, free: 106.5 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01241/19.19, allocations: 1.321 MB / 5.671 GB, free: 106.1 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02507/19.22, allocations: 7.082 MB / 5.678 GB, free: 105.1 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005371/19.22, allocations: 324.6 kB / 5.679 GB, free: 105.1 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002422/19.22, allocations: 442.3 kB / 5.679 GB, free: 105 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02096/19.24, allocations: 5.901 MB / 5.685 GB, free: 104.6 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003281/19.24, allocations: 6.281 kB / 5.685 GB, free: 104.6 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001754/19.24, allocations: 180.8 kB / 5.685 GB, free: 104.6 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000304/19.24, allocations: 200.9 kB / 5.685 GB, free: 104.6 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01747/19.26, allocations: 5.112 MB / 5.69 GB, free: 104.5 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.05759/19.32, allocations: 25.4 MB / 5.715 GB, free: 94.23 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009558/19.33, allocations: 4.417 MB / 5.719 GB, free: 93.41 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005427/19.33, allocations: 2.222 MB / 5.722 GB, free: 93.38 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001445/19.33, allocations: 0.9132 MB / 5.722 GB, free: 92.43 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005761/19.34, allocations: 1.921 MB / 5.724 GB, free: 92.3 MB / 1.01 GB Notification: Performance of pre-optimization done (n=284): time 8.155e-06/19.34, allocations: 0 / 5.724 GB, free: 92.3 MB / 1.01 GB Notification: Performance of matching and sorting (n=288): time 0.03702/19.38, allocations: 10.2 MB / 5.734 GB, free: 90.55 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/19.38, allocations: 243.2 kB / 5.734 GB, free: 90.3 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01426/19.39, allocations: 4.59 MB / 5.739 GB, free: 89.99 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0009695/19.39, allocations: 91.42 kB / 5.739 GB, free: 89.96 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.004158/19.4, allocations: 2.45 MB / 5.741 GB, free: 88.65 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001945/19.4, allocations: 0.9948 MB / 5.742 GB, free: 87.88 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004027/19.4, allocations: 63.06 kB / 5.742 GB, free: 87.84 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003075/19.4, allocations: 426.5 kB / 5.743 GB, free: 87.48 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004507/19.4, allocations: 1.55 MB / 5.744 GB, free: 86.94 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005743/19.41, allocations: 2.441 MB / 5.747 GB, free: 85.46 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/19.42, allocations: 3.95 MB / 5.751 GB, free: 83.52 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.188e-05/19.42, allocations: 6.375 kB / 5.751 GB, free: 83.52 MB / 1.01 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01479/19.43, allocations: 4.599 MB / 5.755 GB, free: 81.77 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003195/19.43, allocations: 0.5 MB / 5.756 GB, free: 81.14 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.64e-05/19.43, allocations: 15.22 kB / 5.756 GB, free: 81.14 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/19.44, allocations: 232.4 kB / 5.756 GB, free: 81.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005826/19.44, allocations: 0.6779 MB / 5.757 GB, free: 81.03 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004008/19.45, allocations: 3.42 MB / 5.76 GB, free: 78.11 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009604/19.46, allocations: 0.5478 MB / 5.76 GB, free: 78.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009554/19.46, allocations: 126 kB / 5.761 GB, free: 77.99 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/19.46, allocations: 3.906 kB / 5.761 GB, free: 77.99 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01254/19.47, allocations: 4.144 MB / 5.765 GB, free: 76.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.194e-05/19.47, allocations: 17.25 kB / 5.765 GB, free: 76.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000893/19.47, allocations: 210 kB / 5.765 GB, free: 76.35 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005471/19.48, allocations: 0.6561 MB / 5.765 GB, free: 76.29 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005647/19.48, allocations: 4.069 MB / 5.769 GB, free: 72.88 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009387/19.49, allocations: 0.5342 MB / 5.77 GB, free: 72.79 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009505/19.49, allocations: 117.7 kB / 5.77 GB, free: 72.77 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.006267/19.5, allocations: 2.18 MB / 5.772 GB, free: 71.76 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001903/19.5, allocations: 465 kB / 5.773 GB, free: 71.52 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/19.51, allocations: 4.287 MB / 5.777 GB, free: 69.8 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.634e-05/19.51, allocations: 26.78 kB / 5.777 GB, free: 69.8 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/19.51, allocations: 6.906 kB / 5.777 GB, free: 69.8 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01063/19.52, allocations: 3.583 MB / 5.78 GB, free: 68.35 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.03257/19.56, allocations: 10.67 MB / 5.791 GB, free: 63.78 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.218e-05/19.56, allocations: 3.938 kB / 5.791 GB, free: 63.78 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006061/19.56, allocations: 0.6576 MB / 5.791 GB, free: 63.73 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008031/19.56, allocations: 174.2 kB / 5.792 GB, free: 63.68 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007714/19.56, allocations: 84.77 kB / 5.792 GB, free: 63.63 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003497/19.57, allocations: 3.327 MB / 5.795 GB, free: 60.75 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.729e-06/19.57, allocations: 15.03 kB / 5.795 GB, free: 60.74 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0174/19.58, allocations: 6.567 MB / 5.801 GB, free: 57.89 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004762/19.59, allocations: 1.091 MB / 5.802 GB, free: 57.27 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002145/19.59, allocations: 77.27 kB / 5.802 GB, free: 57.23 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008196/19.6, allocations: 467.4 kB / 5.803 GB, free: 57.17 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009068/19.6, allocations: 182 kB / 5.803 GB, free: 57.13 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005722/19.6, allocations: 114.5 kB / 5.803 GB, free: 57.11 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.008853/19.61, allocations: 3.224 MB / 5.806 GB, free: 55.99 MB / 1.01 GB Notification: Performance of sort global known variables: time 4.51e-07/19.61, allocations: 0 / 5.806 GB, free: 55.99 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01949/19.63, allocations: 2.97 MB / 5.809 GB, free: 54.06 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.006929/19.64, allocations: 3.11 MB / 5.812 GB, free: 51.67 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01622/19.65, allocations: 6.475 MB / 5.819 GB, free: 45.96 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/19.65, allocations: 1.281 kB / 5.819 GB, free: 45.96 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00476/19.66, allocations: 2.068 MB / 5.821 GB, free: 44.12 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02896/19.69, allocations: 2.954 MB / 5.823 GB, free: 42.03 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03083/19.72, allocations: 14.13 MB / 5.837 GB, free: 29.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007874/19.73, allocations: 4.112 MB / 5.841 GB, free: 26.08 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0133/19.74, allocations: 2.415 MB / 5.844 GB, free: 24.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002344/19.74, allocations: 353 kB / 5.844 GB, free: 24.18 MB / 1.01 GB Notification: Performance of SimCode: time 1.233e-06/19.74, allocations: 0 / 5.844 GB, free: 24.18 MB / 1.01 GB Notification: Performance of Templates: time 1.129/20.87, allocations: 131.6 MB / 5.972 GB, free: 124.3 MB / 1.026 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1)