Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 292.6 MB / 307.5 MB, free: 5.246 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.001587/0.001587, allocations: 192.7 kB / 377.1 MB, free: 1.539 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.551/1.551, allocations: 205.4 MB / 0.6366 GB, free: 8.621 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.000981/0.0009811, allocations: 88.53 kB / 0.7509 GB, free: 63.26 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003671, allocations: 12 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2882, allocations: 116.3 MB / 0.9884 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.826/7.114, allocations: 2.395 GB / 3.384 GB, free: 185.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/7.115, allocations: 97.77 kB / 3.384 GB, free: 185.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.63/17.74, allocations: 2.679 GB / 6.064 GB, free: 120.8 MB / 1.026 GB Notification: Performance of FrontEnd: time 3.707e-06/17.74, allocations: 3.938 kB / 6.064 GB, free: 120.8 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.001262/17.74, allocations: 166.5 kB / 6.064 GB, free: 120.8 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.02909/17.77, allocations: 7.491 MB / 6.071 GB, free: 117.7 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/17.77, allocations: 8.562 kB / 6.071 GB, free: 117.7 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003559/17.78, allocations: 0.6699 MB / 6.072 GB, free: 117.7 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01095/17.79, allocations: 1.488 MB / 6.073 GB, free: 117.3 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02038/17.81, allocations: 7.471 MB / 6.08 GB, free: 115.9 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004855/17.81, allocations: 373.9 kB / 6.081 GB, free: 115.8 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002339/17.81, allocations: 0.4903 MB / 6.081 GB, free: 115.6 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01696/17.83, allocations: 6.725 MB / 6.088 GB, free: 112.8 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/17.83, allocations: 10.41 kB / 6.088 GB, free: 112.8 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006698/17.83, allocations: 201.1 kB / 6.088 GB, free: 112.7 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001955/17.83, allocations: 214.3 kB / 6.088 GB, free: 112.7 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/17.84, allocations: 5.893 MB / 6.094 GB, free: 110.5 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 preOpt removeSimpleEquations (simulation): time 0.05499/17.9, allocations: 28.09 MB / 6.121 GB, free: 92.99 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006553/17.9, allocations: 4.544 MB / 6.126 GB, free: 90.66 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/17.91, allocations: 0.9195 MB / 6.127 GB, free: 89.71 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004001/17.91, allocations: 2.21 MB / 6.129 GB, free: 88.88 MB / 1.026 GB Notification: Performance of pre-optimization done (n=324): time 6.031e-06/17.91, allocations: 0 / 6.129 GB, free: 88.88 MB / 1.026 GB Notification: Performance of matching and sorting (n=328): time 0.02602/17.94, allocations: 11.76 MB / 6.14 GB, free: 78.89 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.695e-05/17.94, allocations: 251.5 kB / 6.141 GB, free: 78.59 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0105/17.95, allocations: 4.566 MB / 6.145 GB, free: 74.82 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0009893/17.95, allocations: 97.7 kB / 6.145 GB, free: 74.72 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.004068/17.95, allocations: 2.724 MB / 6.148 GB, free: 72.03 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.001841/17.95, allocations: 1.139 MB / 6.149 GB, free: 70.9 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005228/17.95, allocations: 68 kB / 6.149 GB, free: 70.83 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0003019/17.95, allocations: 444.9 kB / 6.149 GB, free: 70.39 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003048/17.96, allocations: 1.798 MB / 6.151 GB, free: 68.59 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003772/17.96, allocations: 2.723 MB / 6.154 GB, free: 65.57 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0038/17.96, allocations: 2.317 MB / 6.156 GB, free: 63.25 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-05/17.96, allocations: 4 kB / 6.156 GB, free: 63.25 MB / 1.026 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01088/17.98, allocations: 5.191 MB / 6.161 GB, free: 58.03 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.001794/17.98, allocations: 6.212 MB / 6.167 GB, free: 51.28 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.495e-05/17.98, allocations: 22.36 kB / 6.167 GB, free: 51.26 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009745/17.98, allocations: 211.1 kB / 6.167 GB, free: 51.05 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005861/17.98, allocations: 0.7593 MB / 6.168 GB, free: 50.3 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00388/17.99, allocations: 3.453 MB / 6.172 GB, free: 46.68 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009495/18, allocations: 0.5948 MB / 6.172 GB, free: 46.09 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/18, allocations: 136 kB / 6.172 GB, free: 45.95 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/18, allocations: 4 kB / 6.172 GB, free: 45.95 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00809/18.01, allocations: 4.736 MB / 6.177 GB, free: 41.18 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.713e-05/18.01, allocations: 12 kB / 6.177 GB, free: 41.16 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005765/18.01, allocations: 217.5 kB / 6.177 GB, free: 40.95 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003144/18.01, allocations: 0.745 MB / 6.178 GB, free: 40.2 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004779/18.02, allocations: 4.117 MB / 6.182 GB, free: 35.81 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008912/18.02, allocations: 0.5812 MB / 6.182 GB, free: 35.23 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006023/18.02, allocations: 136 kB / 6.183 GB, free: 35.1 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (398): * Single equations (assignments): 392 * 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.005841/18.03, allocations: 2.417 MB / 6.185 GB, free: 32.67 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001826/18.03, allocations: 0.494 MB / 6.185 GB, free: 32.17 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008393/18.04, allocations: 4.951 MB / 6.19 GB, free: 27.16 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/18.04, allocations: 38.95 kB / 6.19 GB, free: 27.12 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/18.04, allocations: 0 / 6.19 GB, free: 27.12 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005419/18.05, allocations: 4.134 MB / 6.194 GB, free: 22.93 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.02225/18.07, allocations: 12.14 MB / 6.206 GB, free: 10.62 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/18.07, allocations: 4 kB / 6.206 GB, free: 10.62 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003328/18.07, allocations: 0.7412 MB / 6.207 GB, free: 9.879 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004842/18.07, allocations: 164.9 kB / 6.207 GB, free: 9.715 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002551/18.07, allocations: 99.95 kB / 6.207 GB, free: 9.617 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/18.08, allocations: 3.362 MB / 6.21 GB, free: 6.086 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/18.08, allocations: 7.984 kB / 6.21 GB, free: 6.078 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7733/18.85, allocations: 8.095 MB / 6.218 GB, free: 128.1 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005794/18.85, allocations: 1.215 MB / 6.22 GB, free: 128 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002412/18.86, allocations: 80.97 kB / 6.22 GB, free: 128 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008532/18.87, allocations: 0.5036 MB / 6.22 GB, free: 128 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001019/18.87, allocations: 204.2 kB / 6.22 GB, free: 128 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004661/18.87, allocations: 120.9 kB / 6.22 GB, free: 128 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.008859/18.88, allocations: 3.592 MB / 6.224 GB, free: 127.8 MB / 1.026 GB Notification: Performance of sort global known variables: time 6.11e-07/18.88, allocations: 0 / 6.224 GB, free: 127.8 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02104/18.9, allocations: 3.172 MB / 6.227 GB, free: 127.8 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 (318): * Single equations (assignments): 310 * 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.02112/18.92, allocations: 12.49 MB / 6.239 GB, free: 124.5 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01396/18.93, allocations: 7.358 MB / 6.246 GB, free: 123.8 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.577e-05/18.93, allocations: 4.531 kB / 6.246 GB, free: 123.8 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.003634/18.94, allocations: 2.362 MB / 6.249 GB, free: 123.6 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01699/18.95, allocations: 3.07 MB / 6.252 GB, free: 123.6 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05393/19.01, allocations: 34.77 MB / 6.286 GB, free: 99.73 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005751/19.01, allocations: 4.665 MB / 6.29 GB, free: 98.89 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01079/19.02, allocations: 2.666 MB / 6.293 GB, free: 98.83 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006009/19.03, allocations: 2.566 MB / 6.295 GB, free: 98.82 MB / 1.026 GB Notification: Performance of SimCode: time 1.473e-06/19.03, allocations: 3.094 kB / 6.295 GB, free: 98.82 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4062/19.44, allocations: 199.3 MB / 6.49 GB, free: 58.07 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002836/19.44, allocations: 276.7 kB / 6.49 GB, free: 57.71 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.541/28.98, allocations: 0 / 6.49 GB, free: 57.71 MB / 1.026 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)