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.607/1.607, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.001131/0.001131, allocations: 180.8 kB / 366.7 MB, free: 1.668 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.697/1.697, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0009219/0.000922, allocations: 96.53 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.846e-05/1.866e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7352/0.7352, allocations: 116.3 MB / 0.9732 GB, free: 76.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.94/6.675, allocations: 2.387 GB / 3.36 GB, free: 99.27 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/6.675, allocations: 95.94 kB / 3.36 GB, free: 99.18 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.124/15.8, allocations: 2.294 GB / 5.654 GB, free: 35.25 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.595e-06/15.8, allocations: 0 / 5.654 GB, free: 35.25 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.00148/15.8, allocations: 147.9 kB / 5.655 GB, free: 35.11 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.02323/15.82, allocations: 5.649 MB / 5.66 GB, free: 29.39 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/15.82, allocations: 12.03 kB / 5.66 GB, free: 29.38 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/15.83, allocations: 1.327 MB / 5.661 GB, free: 28.04 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02018/15.85, allocations: 7.027 MB / 5.668 GB, free: 20.94 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003326/15.85, allocations: 132 kB / 5.668 GB, free: 20.81 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002374/15.86, allocations: 267.9 kB / 5.669 GB, free: 20.55 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01434/15.87, allocations: 4.6 MB / 5.673 GB, free: 15.94 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01888/15.89, allocations: 5.149 MB / 5.678 GB, free: 10.64 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00029/15.89, allocations: 11.84 kB / 5.678 GB, free: 10.62 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001646/15.89, allocations: 4 kB / 5.678 GB, free: 10.62 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001994/15.89, allocations: 204.1 kB / 5.678 GB, free: 10.42 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.8477/16.74, allocations: 24.7 MB / 5.702 GB, free: 100.6 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006835/16.75, allocations: 5.218 MB / 5.708 GB, free: 98.73 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003119/16.75, allocations: 2.072 MB / 5.71 GB, free: 98.7 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009352/16.75, allocations: 0.911 MB / 5.71 GB, free: 97.76 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002808/16.75, allocations: 1.876 MB / 5.712 GB, free: 97.6 MB / 1.01 GB Notification: Performance of pre-optimization done (n=284): time 5.17e-06/16.75, allocations: 1.844 kB / 5.712 GB, free: 97.6 MB / 1.01 GB Notification: Performance of matching and sorting (n=288): time 0.02861/16.78, allocations: 9.565 MB / 5.722 GB, free: 95.05 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/16.78, allocations: 290.8 kB / 5.722 GB, free: 94.74 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01035/16.79, allocations: 3.876 MB / 5.726 GB, free: 94.46 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001098/16.79, allocations: 35.05 kB / 5.726 GB, free: 94.43 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003177/16.8, allocations: 2.47 MB / 5.728 GB, free: 93.86 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001728/16.8, allocations: 0.9635 MB / 5.729 GB, free: 93.35 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/16.8, allocations: 3.438 kB / 5.729 GB, free: 93.35 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002089/16.8, allocations: 427.6 kB / 5.73 GB, free: 93.04 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/16.8, allocations: 1.427 MB / 5.731 GB, free: 93.04 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002495/16.8, allocations: 2.274 MB / 5.733 GB, free: 92.18 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003004/16.81, allocations: 1.941 MB / 5.735 GB, free: 92.13 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/16.81, allocations: 6.469 kB / 5.735 GB, free: 92.13 MB / 1.01 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.00764/16.82, allocations: 4.226 MB / 5.739 GB, free: 91.76 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001241/16.82, allocations: 5.886 MB / 5.745 GB, free: 85.62 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.485e-05/16.82, allocations: 14.16 kB / 5.745 GB, free: 85.62 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005575/16.82, allocations: 197.2 kB / 5.745 GB, free: 85.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002852/16.82, allocations: 0.6672 MB / 5.746 GB, free: 85.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/16.82, allocations: 3.38 MB / 5.749 GB, free: 83.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006793/16.83, allocations: 494.6 kB / 5.75 GB, free: 83.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007462/16.83, allocations: 123.6 kB / 5.75 GB, free: 83.2 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/16.83, allocations: 3.625 kB / 5.75 GB, free: 83.2 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009404/16.84, allocations: 3.725 MB / 5.753 GB, free: 83.08 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.528e-05/16.84, allocations: 16.31 kB / 5.753 GB, free: 83.08 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006546/16.84, allocations: 201.7 kB / 5.753 GB, free: 83.07 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003129/16.84, allocations: 0.6604 MB / 5.754 GB, free: 83.07 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004531/16.85, allocations: 3.919 MB / 5.758 GB, free: 80.44 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006815/16.86, allocations: 476.7 kB / 5.758 GB, free: 80.43 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009268/16.86, allocations: 124.6 kB / 5.759 GB, free: 80.43 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (355): * Single equations (assignments): 349 * 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.001714/16.86, allocations: 217.5 kB / 5.759 GB, free: 80.29 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002194/16.86, allocations: 457.2 kB / 5.759 GB, free: 80.05 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/16.87, allocations: 3.914 MB / 5.763 GB, free: 79.83 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.087e-05/16.87, allocations: 35.33 kB / 5.763 GB, free: 79.83 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-05/16.87, allocations: 2.812 kB / 5.763 GB, free: 79.83 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00629/16.88, allocations: 3.264 MB / 5.766 GB, free: 79.56 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 postOpt removeSimpleEquations (simulation): time 0.02887/16.91, allocations: 10.01 MB / 5.776 GB, free: 78.45 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-05/16.91, allocations: 5.25 kB / 5.776 GB, free: 78.45 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003492/16.91, allocations: 0.6613 MB / 5.777 GB, free: 78.45 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000537/16.91, allocations: 155.8 kB / 5.777 GB, free: 78.43 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005563/16.91, allocations: 47.59 kB / 5.777 GB, free: 78.43 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003026/16.91, allocations: 3.261 MB / 5.78 GB, free: 76.05 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-05/16.91, allocations: 12.42 kB / 5.78 GB, free: 76.04 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/16.93, allocations: 6.585 MB / 5.786 GB, free: 74.73 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004933/16.93, allocations: 1.095 MB / 5.788 GB, free: 74.41 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002259/16.93, allocations: 26.95 kB / 5.788 GB, free: 74.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00619/16.94, allocations: 424 kB / 5.788 GB, free: 74.39 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005967/16.94, allocations: 182.9 kB / 5.788 GB, free: 74.39 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005304/16.94, allocations: 112.3 kB / 5.788 GB, free: 74.39 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.008071/16.95, allocations: 2.996 MB / 5.791 GB, free: 74.21 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.62e-07/16.95, allocations: 0 / 5.791 GB, free: 74.21 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01951/16.97, allocations: 2.776 MB / 5.794 GB, free: 74.21 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) * 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.006614/16.98, allocations: 3.361 MB / 5.797 GB, free: 73.11 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01224/16.99, allocations: 6.124 MB / 5.803 GB, free: 72.51 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.632e-05/16.99, allocations: 4.094 kB / 5.803 GB, free: 72.51 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00345/16.99, allocations: 1.907 MB / 5.805 GB, free: 72.34 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01772/17.01, allocations: 2.815 MB / 5.808 GB, free: 72.29 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02527/17.04, allocations: 10.24 MB / 5.818 GB, free: 70.25 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006491/17.04, allocations: 4.221 MB / 5.822 GB, free: 69.41 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01518/17.06, allocations: 3.998 MB / 5.826 GB, free: 69.35 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001447/17.06, allocations: 278.2 kB / 5.826 GB, free: 69.34 MB / 1.01 GB Notification: Performance of SimCode: time 1.423e-06/17.06, allocations: 0 / 5.826 GB, free: 69.34 MB / 1.01 GB Notification: Performance of Templates: time 0.1896/17.25, allocations: 115.2 MB / 5.939 GB, free: 63.11 MB / 1.01 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)