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.731/1.731, allocations: 292.6 MB / 307.5 MB, free: 5.09 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.001075/0.001075, allocations: 184.3 kB / 377.1 MB, free: 1.441 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.73/1.73, allocations: 205.4 MB / 0.6367 GB, free: 8.664 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.0009537/0.0009537, allocations: 95 kB / 0.751 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004395, allocations: 12 kB / 0.8748 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2944, allocations: 116.3 MB / 0.9884 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.716/7.01, allocations: 2.388 GB / 3.376 GB, free: 154.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/7.011, allocations: 101.4 kB / 3.376 GB, free: 154.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.939/15.95, allocations: 2.317 GB / 5.693 GB, free: 85.17 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.276e-06/15.95, allocations: 0 / 5.693 GB, free: 85.17 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001231/15.95, allocations: 151.2 kB / 5.693 GB, free: 85.02 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.02703/15.98, allocations: 6.894 MB / 5.7 GB, free: 78.08 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/15.98, allocations: 16.02 kB / 5.7 GB, free: 78.06 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/15.99, allocations: 1.332 MB / 5.701 GB, free: 76.72 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02098/16.01, allocations: 7.076 MB / 5.708 GB, free: 69.59 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004815/16.01, allocations: 328.2 kB / 5.709 GB, free: 69.26 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00233/16.01, allocations: 443.9 kB / 5.709 GB, free: 68.83 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/16.03, allocations: 5.876 MB / 5.715 GB, free: 62.79 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001353/16.03, allocations: 7.938 kB / 5.715 GB, free: 62.79 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006608/16.03, allocations: 172 kB / 5.715 GB, free: 62.62 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001753/16.03, allocations: 205 kB / 5.715 GB, free: 62.41 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/16.04, allocations: 5.103 MB / 5.72 GB, free: 57.29 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.04038/16.08, allocations: 25.47 MB / 5.745 GB, free: 30.31 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005558/16.08, allocations: 4.399 MB / 5.749 GB, free: 25.79 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009363/16.08, allocations: 0.9074 MB / 5.75 GB, free: 24.69 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002957/16.09, allocations: 1.919 MB / 5.752 GB, free: 22.73 MB / 1.01 GB Notification: Performance of pre-optimization done (n=284): time 5.37e-06/16.09, allocations: 0 / 5.752 GB, free: 22.73 MB / 1.01 GB Notification: Performance of matching and sorting (n=288): time 0.0233/16.11, allocations: 10.22 MB / 5.762 GB, free: 12.29 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/16.11, allocations: 243.9 kB / 5.762 GB, free: 12 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01048/16.12, allocations: 4.223 MB / 5.766 GB, free: 7.777 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001564/16.12, allocations: 89.7 kB / 5.766 GB, free: 7.684 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003107/16.13, allocations: 2.451 MB / 5.769 GB, free: 5.211 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001725/16.13, allocations: 1.001 MB / 5.77 GB, free: 4.195 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/16.13, allocations: 56 kB / 5.77 GB, free: 4.141 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002152/16.13, allocations: 428.1 kB / 5.77 GB, free: 3.715 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00235/16.13, allocations: 1.548 MB / 5.772 GB, free: 2.164 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003079/16.13, allocations: 2.423 MB / 5.774 GB, free: 15.42 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003574/16.14, allocations: 2.027 MB / 5.776 GB, free: 13.38 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/16.14, allocations: 4 kB / 5.776 GB, free: 13.37 MB / 1.026 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01006/16.15, allocations: 4.576 MB / 5.781 GB, free: 8.738 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.002667/16.15, allocations: 5.716 MB / 5.786 GB, free: 2.621 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.013e-05/16.15, allocations: 16 kB / 5.786 GB, free: 2.605 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007214/16.15, allocations: 209.5 kB / 5.786 GB, free: 2.395 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003716/16.15, allocations: 0.6709 MB / 5.787 GB, free: 1.723 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7071/16.86, allocations: 3.436 MB / 5.79 GB, free: 118.4 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007772/16.87, allocations: 0.5452 MB / 5.791 GB, free: 118.4 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009817/16.87, allocations: 127.8 kB / 5.791 GB, free: 118.4 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/16.87, allocations: 4.531 kB / 5.791 GB, free: 118.4 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007878/16.88, allocations: 4.145 MB / 5.795 GB, free: 118.2 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-05/16.88, allocations: 19.19 kB / 5.795 GB, free: 118.2 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006395/16.88, allocations: 212.4 kB / 5.795 GB, free: 118.2 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003034/16.88, allocations: 0.6536 MB / 5.796 GB, free: 118.2 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004883/16.89, allocations: 4.117 MB / 5.8 GB, free: 115.5 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009769/16.9, allocations: 0.5299 MB / 5.801 GB, free: 115.5 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001647/16.9, allocations: 125.6 kB / 5.801 GB, free: 115.5 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 () * 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.007114/16.91, allocations: 2.168 MB / 5.803 GB, free: 115.3 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002169/16.91, allocations: 472.7 kB / 5.803 GB, free: 115.3 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/16.92, allocations: 4.285 MB / 5.807 GB, free: 115.1 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.586e-05/16.92, allocations: 35.08 kB / 5.807 GB, free: 115.1 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/16.92, allocations: 1.75 kB / 5.807 GB, free: 115.1 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006834/16.92, allocations: 3.584 MB / 5.811 GB, free: 114.8 MB / 1.026 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.02594/16.95, allocations: 10.71 MB / 5.821 GB, free: 113.8 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/16.95, allocations: 4.469 kB / 5.821 GB, free: 113.8 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002965/16.95, allocations: 0.661 MB / 5.822 GB, free: 113.8 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000522/16.95, allocations: 167.8 kB / 5.822 GB, free: 113.8 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000269/16.95, allocations: 90.33 kB / 5.822 GB, free: 113.8 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002383/16.96, allocations: 3.36 MB / 5.826 GB, free: 111.3 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/16.96, allocations: 7.281 kB / 5.826 GB, free: 111.3 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/16.97, allocations: 7.041 MB / 5.832 GB, free: 110.2 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004843/16.97, allocations: 1.109 MB / 5.834 GB, free: 110.1 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002005/16.97, allocations: 78.02 kB / 5.834 GB, free: 110.1 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006542/16.98, allocations: 478.1 kB / 5.834 GB, free: 110.1 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005642/16.98, allocations: 179.3 kB / 5.834 GB, free: 110.1 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003773/16.98, allocations: 116.5 kB / 5.834 GB, free: 110.1 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.007261/16.99, allocations: 3.327 MB / 5.838 GB, free: 109.9 MB / 1.026 GB Notification: Performance of sort global known variables: time 7.51e-07/16.99, allocations: 0 / 5.838 GB, free: 109.9 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.01664/17.01, allocations: 2.973 MB / 5.841 GB, free: 109.9 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) * 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.005876/17.01, allocations: 3.145 MB / 5.844 GB, free: 108.8 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01049/17.02, allocations: 6.466 MB / 5.85 GB, free: 108.2 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/17.02, allocations: 4.406 kB / 5.85 GB, free: 108.2 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.002944/17.03, allocations: 2.049 MB / 5.852 GB, free: 108 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01519/17.04, allocations: 2.955 MB / 5.855 GB, free: 108 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03213/17.07, allocations: 14.11 MB / 5.869 GB, free: 103 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009127/17.08, allocations: 4.221 MB / 5.873 GB, free: 102.2 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01417/17.1, allocations: 2.41 MB / 5.875 GB, free: 102.1 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002737/17.1, allocations: 360.1 kB / 5.875 GB, free: 102.1 MB / 1.026 GB Notification: Performance of SimCode: time 1.403e-06/17.1, allocations: 0 / 5.875 GB, free: 102.1 MB / 1.026 GB Notification: Performance of Templates: time 0.2272/17.33, allocations: 132 MB / 6.004 GB, free: 95.41 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)