Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.532/1.532, allocations: 249.3 MB / 261.8 MB, free: 5.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001135, allocations: 174.6 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008579/0.0008582, allocations: 90.52 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.192e-05/4.194e-05, allocations: 8 kB / 0.788 GB, free: 97.05 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2536, allocations: 106.3 MB / 0.8919 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.896/7.15, allocations: 2.204 GB / 3.096 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/7.15, allocations: 87.7 kB / 3.096 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.94/11.09, allocations: 1.006 GB / 4.103 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.154e-06/11.09, allocations: 0 / 4.103 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001608/11.09, allocations: 47.98 kB / 4.103 GB, free: 119.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005099/11.09, allocations: 2.077 MB / 4.105 GB, free: 117 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/11.09, allocations: 8.031 kB / 4.105 GB, free: 117 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002864/11.1, allocations: 173.4 kB / 4.105 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003963/11.1, allocations: 0.6181 MB / 4.105 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003719/11.1, allocations: 1.441 MB / 4.107 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003548/11.1, allocations: 158.2 kB / 4.107 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002535/11.1, allocations: 124 kB / 4.107 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002487/11.11, allocations: 1.36 MB / 4.108 GB, free: 113 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/11.11, allocations: 0 / 4.108 GB, free: 113 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/11.11, allocations: 52 kB / 4.108 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-05/11.11, allocations: 50.17 kB / 4.109 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/11.11, allocations: 1.047 MB / 4.11 GB, free: 111.8 MB / 0.8855 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.00859/11.12, allocations: 5.891 MB / 4.115 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/11.12, allocations: 0.9636 MB / 4.116 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005905/11.12, allocations: 483.7 kB / 4.117 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005068/11.12, allocations: 319.3 kB / 4.117 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007509/11.12, allocations: 0.5341 MB / 4.118 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=87): time 3.857e-06/11.12, allocations: 288 / 4.118 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.006935/11.13, allocations: 3.027 MB / 4.12 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.057e-05/11.13, allocations: 204.6 kB / 4.121 GB, free: 99.85 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/11.13, allocations: 1.146 MB / 4.122 GB, free: 98.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001558/11.13, allocations: 45.7 kB / 4.122 GB, free: 98.65 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000553/11.13, allocations: 0.7216 MB / 4.123 GB, free: 97.92 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/11.13, allocations: 327.2 kB / 4.123 GB, free: 97.59 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/11.13, allocations: 16 kB / 4.123 GB, free: 97.58 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.765e-05/11.13, allocations: 341.9 kB / 4.123 GB, free: 97.24 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005326/11.13, allocations: 389.9 kB / 4.124 GB, free: 96.86 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006547/11.13, allocations: 0.6048 MB / 4.124 GB, free: 96.17 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009682/11.14, allocations: 2.357 MB / 4.126 GB, free: 93.79 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/11.14, allocations: 0 / 4.126 GB, free: 93.79 MB / 0.8855 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004023/11.14, allocations: 1.658 MB / 4.128 GB, free: 92.12 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003331/11.14, allocations: 1.292 MB / 4.129 GB, free: 90.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/11.14, allocations: 4 kB / 4.129 GB, free: 90.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/11.15, allocations: 418.4 kB / 4.13 GB, free: 90.29 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007489/11.15, allocations: 171.8 kB / 4.13 GB, free: 90.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006279/11.15, allocations: 6.859 MB / 4.137 GB, free: 82.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/11.16, allocations: 147.8 kB / 4.137 GB, free: 82.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/11.16, allocations: 39.98 kB / 4.137 GB, free: 82.64 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/11.16, allocations: 4 kB / 4.137 GB, free: 82.64 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003232/11.16, allocations: 1.495 MB / 4.138 GB, free: 81.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/11.16, allocations: 4 kB / 4.138 GB, free: 81.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009324/11.16, allocations: 415.1 kB / 4.139 GB, free: 80.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006804/11.16, allocations: 171.8 kB / 4.139 GB, free: 80.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006925/11.17, allocations: 7.86 MB / 4.146 GB, free: 72.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/11.17, allocations: 143.8 kB / 4.147 GB, free: 72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/11.17, allocations: 43.98 kB / 4.147 GB, free: 71.95 MB / 0.8855 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 () * 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.0003845/11.17, allocations: 196.9 kB / 4.147 GB, free: 71.75 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003309/11.17, allocations: 166 kB / 4.147 GB, free: 71.59 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003344/11.17, allocations: 1.462 MB / 4.148 GB, free: 70.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/11.17, allocations: 12 kB / 4.148 GB, free: 70.09 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/11.17, allocations: 7.938 kB / 4.148 GB, free: 70.08 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002455/11.18, allocations: 1.302 MB / 4.15 GB, free: 68.73 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006251/11.18, allocations: 3.342 MB / 4.153 GB, free: 65.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/11.18, allocations: 8.094 kB / 4.153 GB, free: 65.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008594/11.18, allocations: 191.7 kB / 4.153 GB, free: 65.06 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000439/11.18, allocations: 204.6 kB / 4.153 GB, free: 64.87 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.997e-05/11.18, allocations: 35.98 kB / 4.153 GB, free: 64.83 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002327/11.19, allocations: 2.466 MB / 4.156 GB, free: 62.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/11.19, allocations: 11.92 kB / 4.156 GB, free: 62.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003979/11.19, allocations: 2.402 MB / 4.158 GB, free: 59.61 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/11.19, allocations: 367 kB / 4.159 GB, free: 59.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/11.19, allocations: 28 kB / 4.159 GB, free: 59.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/11.19, allocations: 147.7 kB / 4.159 GB, free: 59.06 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/11.19, allocations: 64.59 kB / 4.159 GB, free: 59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/11.19, allocations: 43.97 kB / 4.159 GB, free: 58.95 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001271/11.19, allocations: 0.8976 MB / 4.16 GB, free: 58.06 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/11.19, allocations: 0 / 4.16 GB, free: 58.06 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003926/11.2, allocations: 0.9842 MB / 4.161 GB, free: 57.07 MB / 0.8855 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.X[2],heaDyn.vol.dynBal.medium.dT,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) * 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.007443/11.21, allocations: 6.221 MB / 4.167 GB, free: 50.62 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003886/11.21, allocations: 2.7 MB / 4.169 GB, free: 47.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/11.21, allocations: 4.312 kB / 4.169 GB, free: 47.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009042/11.21, allocations: 0.7053 MB / 4.17 GB, free: 47.07 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004725/11.22, allocations: 0.88 MB / 4.171 GB, free: 46.21 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007547/11.22, allocations: 3 MB / 4.174 GB, free: 43.12 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009063/11.22, allocations: 1.398 MB / 4.175 GB, free: 41.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002475/11.23, allocations: 491.2 kB / 4.176 GB, free: 41.22 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000751/11.23, allocations: 0.6086 MB / 4.176 GB, free: 40.61 MB / 0.8855 GB Notification: Performance of SimCode: time 1.643e-06/11.23, allocations: 0 / 4.176 GB, free: 40.61 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8287/12.06, allocations: 91.97 MB / 4.266 GB, free: 155.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/12.06, allocations: 239.9 kB / 4.266 GB, free: 155.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.531/17.59, allocations: 1.938 kB / 4.266 GB, free: 155.2 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)