Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.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.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.627/1.627, allocations: 289.7 MB / 302.3 MB, free: 2.152 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.001165/0.001166, allocations: 183.5 kB / 371.6 MB, free: 3.375 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.861/1.861, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009836/0.0009836, allocations: 89.98 kB / 0.745 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.795e-05/4.799e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2883, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.426/7.714, allocations: 2.388 GB / 3.368 GB, free: 163.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/7.714, allocations: 89.2 kB / 3.368 GB, free: 163.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.6/17.31, allocations: 2.313 GB / 5.681 GB, free: 93.32 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.713e-06/17.31, allocations: 4 kB / 5.681 GB, free: 93.31 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001307/17.32, allocations: 152.8 kB / 5.681 GB, free: 93.28 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.02633/17.34, allocations: 5.656 MB / 5.686 GB, free: 89.77 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/17.34, allocations: 10.06 kB / 5.686 GB, free: 89.77 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/17.35, allocations: 1.336 MB / 5.688 GB, free: 89.14 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02475/17.38, allocations: 7.025 MB / 5.694 GB, free: 84.6 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000614/17.38, allocations: 329.1 kB / 5.695 GB, free: 84.45 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002987/17.38, allocations: 442.6 kB / 5.695 GB, free: 84.3 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02225/17.4, allocations: 5.762 MB / 5.701 GB, free: 80.98 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004074/17.4, allocations: 15.28 kB / 5.701 GB, free: 80.97 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002336/17.41, allocations: 173.4 kB / 5.701 GB, free: 80.84 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002861/17.41, allocations: 197.9 kB / 5.701 GB, free: 80.8 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01523/17.42, allocations: 4.948 MB / 5.706 GB, free: 76.22 MB / 1.01 GB Warning: The model contains alias variables with conflicting start and/or 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.06071/17.48, allocations: 25.47 MB / 5.731 GB, free: 49.23 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007344/17.49, allocations: 4.317 MB / 5.735 GB, free: 44.8 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003835/17.49, allocations: 2.161 MB / 5.737 GB, free: 42.64 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/17.5, allocations: 0.9152 MB / 5.738 GB, free: 41.54 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005467/17.5, allocations: 1.855 MB / 5.74 GB, free: 39.64 MB / 1.01 GB Notification: Performance of pre-optimization done (n=284): time 9.307e-06/17.5, allocations: 0 / 5.74 GB, free: 39.64 MB / 1.01 GB Notification: Performance of matching and sorting (n=288): time 0.03136/17.53, allocations: 8.411 MB / 5.748 GB, free: 31.05 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.936e-05/17.53, allocations: 243.8 kB / 5.748 GB, free: 30.76 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/17.54, allocations: 4.168 MB / 5.752 GB, free: 26.59 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.00107/17.55, allocations: 93.7 kB / 5.753 GB, free: 26.49 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003798/17.55, allocations: 2.448 MB / 5.755 GB, free: 24.02 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001886/17.55, allocations: 1.004 MB / 5.756 GB, free: 23 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005802/17.55, allocations: 60 kB / 5.756 GB, free: 22.95 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003558/17.55, allocations: 432.1 kB / 5.756 GB, free: 22.52 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002866/17.55, allocations: 1.489 MB / 5.758 GB, free: 21.02 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002793/17.56, allocations: 2.361 MB / 5.76 GB, free: 18.34 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002409/17.56, allocations: 1.965 MB / 5.762 GB, free: 16.35 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/17.56, allocations: 8 kB / 5.762 GB, free: 16.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.00731/17.57, allocations: 4.455 MB / 5.766 GB, free: 11.83 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.00138/17.57, allocations: 5.724 MB / 5.772 GB, free: 5.707 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.974e-05/17.57, allocations: 15.98 kB / 5.772 GB, free: 5.691 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005653/17.57, allocations: 205.5 kB / 5.772 GB, free: 5.484 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002541/17.57, allocations: 0.6709 MB / 5.773 GB, free: 4.812 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/17.57, allocations: 3.402 MB / 5.776 GB, free: 1.23 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006574/17.58, allocations: 0.5461 MB / 5.777 GB, free: 0.6836 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003666/17.58, allocations: 120.2 kB / 5.777 GB, free: 0.5664 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/17.58, allocations: 4 kB / 5.777 GB, free: 0.5625 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00672/17.59, allocations: 4.033 MB / 5.781 GB, free: 12.48 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.53e-05/17.59, allocations: 16 kB / 5.781 GB, free: 12.47 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006169/17.59, allocations: 209.9 kB / 5.781 GB, free: 12.26 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002533/17.59, allocations: 0.6553 MB / 5.782 GB, free: 11.6 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00435/17.6, allocations: 4.055 MB / 5.786 GB, free: 7.27 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006812/17.6, allocations: 0.5377 MB / 5.786 GB, free: 6.734 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004883/17.6, allocations: 128 kB / 5.786 GB, free: 6.609 MB / 1.026 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 () * 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.001109/17.6, allocations: 323.6 kB / 5.787 GB, free: 6.281 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001625/17.61, allocations: 466.4 kB / 5.787 GB, free: 5.82 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008266/17.61, allocations: 4.184 MB / 5.791 GB, free: 1.574 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.841e-05/17.61, allocations: 29.97 kB / 5.791 GB, free: 1.547 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/17.61, allocations: 7.938 kB / 5.791 GB, free: 1.539 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.9536/18.57, allocations: 3.46 MB / 5.794 GB, free: 122.8 MB / 1.026 GB Warning: The model contains alias variables with conflicting start and/or 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.02888/18.6, allocations: 10.61 MB / 5.805 GB, free: 121.8 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-05/18.6, allocations: 4.156 kB / 5.805 GB, free: 121.8 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003588/18.6, allocations: 0.6621 MB / 5.805 GB, free: 121.8 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006551/18.6, allocations: 170.1 kB / 5.806 GB, free: 121.8 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004421/18.6, allocations: 91.08 kB / 5.806 GB, free: 121.8 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002824/18.6, allocations: 3.308 MB / 5.809 GB, free: 119.4 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/18.6, allocations: 5.016 kB / 5.809 GB, free: 119.4 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01229/18.62, allocations: 6.898 MB / 5.816 GB, free: 118.3 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005072/18.62, allocations: 1.109 MB / 5.817 GB, free: 118.2 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001926/18.62, allocations: 81.64 kB / 5.817 GB, free: 118.2 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005655/18.63, allocations: 469.7 kB / 5.817 GB, free: 118.2 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005329/18.63, allocations: 178.3 kB / 5.817 GB, free: 118.2 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003389/18.63, allocations: 110.5 kB / 5.818 GB, free: 118.2 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.006923/18.64, allocations: 3.276 MB / 5.821 GB, free: 118 MB / 1.026 GB Notification: Performance of sort global known variables: time 5.72e-07/18.64, allocations: 1.375 kB / 5.821 GB, free: 118 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02011/18.66, allocations: 2.975 MB / 5.824 GB, free: 118 MB / 1.026 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) * 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.006584/18.66, allocations: 3.145 MB / 5.827 GB, free: 116.9 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01164/18.68, allocations: 6.446 MB / 5.833 GB, free: 116.3 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-05/18.68, allocations: 7 kB / 5.833 GB, free: 116.3 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.003259/18.68, allocations: 2.001 MB / 5.835 GB, free: 116.1 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01744/18.7, allocations: 2.937 MB / 5.838 GB, free: 116 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02335/18.72, allocations: 10.39 MB / 5.848 GB, free: 114.1 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004709/18.72, allocations: 4.226 MB / 5.852 GB, free: 113.2 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01449/18.74, allocations: 3.988 MB / 5.856 GB, free: 113.2 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/18.74, allocations: 274.8 kB / 5.856 GB, free: 113.2 MB / 1.026 GB Notification: Performance of SimCode: time 1.052e-06/18.74, allocations: 3.219 kB / 5.856 GB, free: 113.2 MB / 1.026 GB Notification: Performance of Templates: time 0.2453/18.99, allocations: 146.8 MB / 6 GB, free: 106.2 MB / 1.026 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1)