Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.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.Validation.HeaterCooler_u,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",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.85/1.85, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001641/0.001641, allocations: 192.8 kB / 377.1 MB, free: 1.52 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.992/1.992, allocations: 205.4 MB / 0.6366 GB, free: 9.543 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.001175/0.001175, allocations: 92.5 kB / 0.7509 GB, free: 62.73 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004023, allocations: 12 kB / 0.8749 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3046, allocations: 116.3 MB / 0.9884 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.778/6.082, allocations: 2.087 GB / 3.075 GB, free: 94.56 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/6.083, allocations: 91.89 kB / 3.076 GB, free: 94.51 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.967/10.05, allocations: 1.038 GB / 4.113 GB, free: 117.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.073e-06/10.05, allocations: 0 / 4.113 GB, free: 117.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002393/10.05, allocations: 53.08 kB / 4.113 GB, free: 117.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.006674/10.06, allocations: 2.38 MB / 4.116 GB, free: 116.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/10.06, allocations: 10.44 kB / 4.116 GB, free: 116.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004838/10.06, allocations: 180.5 kB / 4.116 GB, free: 116 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00408/10.06, allocations: 0.6259 MB / 4.116 GB, free: 115.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003489/10.07, allocations: 1.445 MB / 4.118 GB, free: 114.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003439/10.07, allocations: 157.7 kB / 4.118 GB, free: 114.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/10.07, allocations: 126.9 kB / 4.118 GB, free: 114.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/10.07, allocations: 1.454 MB / 4.119 GB, free: 113.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/10.07, allocations: 3.938 kB / 4.119 GB, free: 113.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/10.07, allocations: 51.28 kB / 4.119 GB, free: 113.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.952e-05/10.07, allocations: 43.2 kB / 4.12 GB, free: 113.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002335/10.07, allocations: 1.251 MB / 4.121 GB, free: 113 MB / 0.948 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.008327/10.08, allocations: 5.879 MB / 4.126 GB, free: 108.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/10.08, allocations: 1.173 MB / 4.128 GB, free: 107.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005063/10.08, allocations: 307.9 kB / 4.128 GB, free: 107 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/10.08, allocations: 0.6359 MB / 4.129 GB, free: 106.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 3.106e-06/10.08, allocations: 0 / 4.129 GB, free: 106.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.01117/10.09, allocations: 4.424 MB / 4.133 GB, free: 101.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/10.09, allocations: 196.9 kB / 4.133 GB, free: 101.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/10.1, allocations: 1.155 MB / 4.134 GB, free: 100.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/10.1, allocations: 45.7 kB / 4.134 GB, free: 100.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006234/10.1, allocations: 0.7332 MB / 4.135 GB, free: 99.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002921/10.1, allocations: 323.2 kB / 4.135 GB, free: 99.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/10.1, allocations: 23.39 kB / 4.135 GB, free: 99.28 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.223e-05/10.1, allocations: 349.8 kB / 4.136 GB, free: 98.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008388/10.1, allocations: 481.7 kB / 4.136 GB, free: 98.46 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009954/10.1, allocations: 0.7082 MB / 4.137 GB, free: 97.66 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/10.11, allocations: 2.543 MB / 4.139 GB, free: 95.11 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/10.11, allocations: 3.938 kB / 4.139 GB, free: 95.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004391/10.11, allocations: 1.828 MB / 4.141 GB, free: 93.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003492/10.11, allocations: 1.304 MB / 4.142 GB, free: 91.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/10.11, allocations: 0 / 4.142 GB, free: 91.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/10.12, allocations: 446.9 kB / 4.143 GB, free: 91.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007064/10.12, allocations: 171.7 kB / 4.143 GB, free: 91.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007167/10.12, allocations: 7.206 MB / 4.15 GB, free: 83.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/10.13, allocations: 151.7 kB / 4.15 GB, free: 83.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/10.13, allocations: 43.98 kB / 4.15 GB, free: 83.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/10.13, allocations: 4 kB / 4.15 GB, free: 83.39 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003837/10.13, allocations: 1.664 MB / 4.152 GB, free: 81.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/10.13, allocations: 7.953 kB / 4.152 GB, free: 81.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/10.13, allocations: 453.5 kB / 4.152 GB, free: 81.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007003/10.13, allocations: 171.8 kB / 4.152 GB, free: 81.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007876/10.14, allocations: 8.223 MB / 4.16 GB, free: 72.33 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/10.14, allocations: 151.8 kB / 4.161 GB, free: 72.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/10.14, allocations: 39.98 kB / 4.161 GB, free: 72.14 MB / 0.948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001139/10.14, allocations: 0.4986 MB / 4.161 GB, free: 71.62 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003309/10.14, allocations: 166 kB / 4.161 GB, free: 71.46 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003925/10.15, allocations: 1.677 MB / 4.163 GB, free: 69.76 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/10.15, allocations: 12 kB / 4.163 GB, free: 69.75 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/10.15, allocations: 0 / 4.163 GB, free: 69.75 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003327/10.15, allocations: 1.534 MB / 4.164 GB, free: 68.17 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007178/10.16, allocations: 3.55 MB / 4.168 GB, free: 64.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/10.16, allocations: 4.5 kB / 4.168 GB, free: 64.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008905/10.16, allocations: 191.8 kB / 4.168 GB, free: 64.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005853/10.16, allocations: 241.3 kB / 4.168 GB, free: 64.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.666e-05/10.16, allocations: 27.98 kB / 4.168 GB, free: 64.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003206/10.16, allocations: 2.723 MB / 4.171 GB, free: 61.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/10.16, allocations: 7.938 kB / 4.171 GB, free: 61.15 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005019/10.17, allocations: 2.695 MB / 4.174 GB, free: 58.27 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/10.17, allocations: 363 kB / 4.174 GB, free: 57.89 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/10.17, allocations: 35.94 kB / 4.174 GB, free: 57.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/10.17, allocations: 143.7 kB / 4.174 GB, free: 57.72 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/10.17, allocations: 64.52 kB / 4.174 GB, free: 57.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.342e-05/10.17, allocations: 46.78 kB / 4.174 GB, free: 57.61 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00138/10.17, allocations: 0.9138 MB / 4.175 GB, free: 56.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.21e-07/10.17, allocations: 0 / 4.175 GB, free: 56.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003813/10.18, allocations: 1.015 MB / 4.176 GB, free: 55.69 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.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 (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.008464/10.18, allocations: 6.545 MB / 4.182 GB, free: 48.83 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004707/10.19, allocations: 2.956 MB / 4.185 GB, free: 45.77 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/10.19, allocations: 0 / 4.185 GB, free: 45.77 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/10.19, allocations: 0.8031 MB / 4.186 GB, free: 44.94 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004176/10.19, allocations: 0.8682 MB / 4.187 GB, free: 44.07 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/10.21, allocations: 12.81 MB / 4.199 GB, free: 30.72 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008407/10.21, allocations: 1.387 MB / 4.201 GB, free: 29.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001796/10.22, allocations: 345 kB / 4.201 GB, free: 28.96 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007923/10.22, allocations: 0.6282 MB / 4.202 GB, free: 28.33 MB / 0.948 GB Notification: Performance of SimCode: time 8.81e-07/10.22, allocations: 0 / 4.202 GB, free: 28.33 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7745/10.99, allocations: 84.18 MB / 4.284 GB, free: 153.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/10.99, allocations: 246.5 kB / 4.284 GB, free: 152.9 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.206/16.2, allocations: 2.375 kB / 4.284 GB, free: 152.9 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)