Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.765/2.765, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.001544/0.001544, allocations: 185.3 kB / 370.8 MB, free: 10.88 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.038/2.038, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001158/0.001157, allocations: 90.86 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007359/0.0007361, allocations: 14.73 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2491, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.87/8.119, allocations: 2.394 GB / 3.373 GB, free: 232.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/8.12, allocations: 100 kB / 3.373 GB, free: 232.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 14.45/22.57, allocations: 2.679 GB / 6.052 GB, free: 126.8 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.095e-06/22.57, allocations: 0 / 6.052 GB, free: 126.8 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001463/22.57, allocations: 167.4 kB / 6.052 GB, free: 126.8 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: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.03753/22.61, allocations: 7.495 MB / 6.06 GB, free: 123.7 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/22.61, allocations: 10.81 kB / 6.06 GB, free: 123.7 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00377/22.61, allocations: 0.6713 MB / 6.06 GB, free: 123.6 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01507/22.62, allocations: 1.497 MB / 6.062 GB, free: 123.2 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02821/22.65, allocations: 7.461 MB / 6.069 GB, free: 122.2 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006012/22.65, allocations: 377.3 kB / 6.069 GB, free: 122.2 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002674/22.66, allocations: 0.4939 MB / 6.07 GB, free: 122.2 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02596/22.68, allocations: 6.711 MB / 6.077 GB, free: 121.7 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003634/22.68, allocations: 17.3 kB / 6.077 GB, free: 121.7 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002249/22.68, allocations: 200.2 kB / 6.077 GB, free: 121.7 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003394/22.68, allocations: 222.2 kB / 6.077 GB, free: 121.7 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02275/22.71, allocations: 5.89 MB / 6.083 GB, free: 119.6 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.06932/22.78, allocations: 28.09 MB / 6.11 GB, free: 102.1 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/22.79, allocations: 4.537 MB / 6.115 GB, free: 99.75 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001604/22.79, allocations: 0.9233 MB / 6.115 GB, free: 98.79 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006732/22.8, allocations: 2.213 MB / 6.118 GB, free: 97.96 MB / 1.01 GB Notification: Performance of pre-optimization done (n=324): time 8.215e-06/22.8, allocations: 0 / 6.118 GB, free: 97.96 MB / 1.01 GB Notification: Performance of matching and sorting (n=328): time 0.04292/22.84, allocations: 11.76 MB / 6.129 GB, free: 90.23 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/22.84, allocations: 244.2 kB / 6.129 GB, free: 89.95 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01305/22.85, allocations: 4.568 MB / 6.134 GB, free: 86.18 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001145/22.85, allocations: 101.6 kB / 6.134 GB, free: 86.07 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.004493/22.86, allocations: 2.732 MB / 6.137 GB, free: 83.58 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002177/22.86, allocations: 1.138 MB / 6.138 GB, free: 82.55 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005399/22.86, allocations: 64 kB / 6.138 GB, free: 82.49 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003529/22.86, allocations: 446.1 kB / 6.138 GB, free: 82.09 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005527/22.87, allocations: 1.805 MB / 6.14 GB, free: 80.37 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006596/22.87, allocations: 2.714 MB / 6.143 GB, free: 77.35 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006548/22.88, allocations: 2.32 MB / 6.145 GB, free: 75.03 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.43e-05/22.88, allocations: 4 kB / 6.145 GB, free: 75.03 MB / 1.01 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01665/22.9, allocations: 5.201 MB / 6.15 GB, free: 69.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001409/22.9, allocations: 6.203 MB / 6.156 GB, free: 63.07 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.149e-05/22.9, allocations: 19.39 kB / 6.156 GB, free: 63.05 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/22.9, allocations: 212 kB / 6.156 GB, free: 62.84 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006776/22.91, allocations: 0.7683 MB / 6.157 GB, free: 62.07 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004113/22.91, allocations: 3.449 MB / 6.16 GB, free: 58.45 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01056/22.92, allocations: 0.593 MB / 6.161 GB, free: 57.86 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/22.92, allocations: 139.8 kB / 6.161 GB, free: 57.72 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/22.92, allocations: 4 kB / 6.161 GB, free: 57.72 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01385/22.94, allocations: 4.731 MB / 6.166 GB, free: 52.95 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.199e-05/22.94, allocations: 20.92 kB / 6.166 GB, free: 52.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008967/22.94, allocations: 207.9 kB / 6.166 GB, free: 52.72 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006519/22.94, allocations: 0.7528 MB / 6.167 GB, free: 51.97 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005979/22.95, allocations: 4.106 MB / 6.171 GB, free: 47.59 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01048/22.96, allocations: 0.5773 MB / 6.171 GB, free: 47.01 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001099/22.96, allocations: 140 kB / 6.171 GB, free: 46.88 MB / 1.01 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.007276/22.97, allocations: 2.407 MB / 6.174 GB, free: 44.45 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002097/22.97, allocations: 0.4979 MB / 6.174 GB, free: 43.95 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01548/22.99, allocations: 4.953 MB / 6.179 GB, free: 38.95 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.054e-05/22.99, allocations: 28 kB / 6.179 GB, free: 38.92 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/22.99, allocations: 4 kB / 6.179 GB, free: 38.92 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01185/23, allocations: 4.139 MB / 6.183 GB, free: 34.71 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.03714/23.03, allocations: 12.14 MB / 6.195 GB, free: 22.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.171e-05/23.04, allocations: 8.031 kB / 6.195 GB, free: 22.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006847/23.04, allocations: 0.7477 MB / 6.196 GB, free: 21.66 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008349/23.04, allocations: 172.9 kB / 6.196 GB, free: 21.49 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007522/23.04, allocations: 98.95 kB / 6.196 GB, free: 21.39 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003549/23.05, allocations: 3.354 MB / 6.199 GB, free: 17.86 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/23.05, allocations: 4 kB / 6.199 GB, free: 17.86 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01943/23.07, allocations: 8.099 MB / 6.207 GB, free: 9.512 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005409/23.07, allocations: 1.221 MB / 6.208 GB, free: 8.266 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002109/23.07, allocations: 87.94 kB / 6.208 GB, free: 8.18 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009214/23.08, allocations: 0.4951 MB / 6.209 GB, free: 7.684 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001071/23.08, allocations: 198.1 kB / 6.209 GB, free: 7.488 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004978/23.09, allocations: 119.9 kB / 6.209 GB, free: 7.371 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.009908/23.1, allocations: 3.605 MB / 6.213 GB, free: 3.777 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.92e-07/23.1, allocations: 0 / 6.213 GB, free: 3.777 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02077/23.12, allocations: 3.174 MB / 6.216 GB, free: 0.6055 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 (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.03053/23.15, allocations: 12.49 MB / 6.228 GB, free: 4.129 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.8628/24.01, allocations: 7.351 MB / 6.235 GB, free: 143 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.097e-05/24.01, allocations: 4.375 kB / 6.235 GB, free: 143 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.007758/24.02, allocations: 2.354 MB / 6.237 GB, free: 142.8 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02827/24.05, allocations: 3.066 MB / 6.24 GB, free: 142.8 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0649/24.11, allocations: 34.78 MB / 6.274 GB, free: 118.9 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01176/24.12, allocations: 4.663 MB / 6.279 GB, free: 118.1 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01896/24.14, allocations: 2.666 MB / 6.282 GB, free: 118 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009575/24.15, allocations: 2.565 MB / 6.284 GB, free: 118 MB / 1.026 GB Notification: Performance of SimCode: time 1.563e-06/24.15, allocations: 2.062 kB / 6.284 GB, free: 118 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4409/24.59, allocations: 199.2 MB / 6.479 GB, free: 85.47 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002883/24.59, allocations: 269.7 kB / 6.479 GB, free: 85.11 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/35.94, allocations: 0 / 6.479 GB, free: 85.11 MB / 1.026 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)