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.891/1.891, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.001101/0.001101, allocations: 179.5 kB / 371.6 MB, free: 3.391 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.842/1.842, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.001231/0.001231, allocations: 90.14 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.314e-05/5.316e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3896, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.746/7.136, allocations: 2.087 GB / 3.067 GB, free: 153.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/7.136, allocations: 88.52 kB / 3.067 GB, free: 153.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.323/11.46, allocations: 1.036 GB / 4.103 GB, free: 125.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.834e-06/11.46, allocations: 0 / 4.103 GB, free: 125.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001998/11.46, allocations: 54.62 kB / 4.103 GB, free: 125.7 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.00625/11.47, allocations: 2.065 MB / 4.105 GB, free: 124.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/11.47, allocations: 11.41 kB / 4.105 GB, free: 124.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000331/11.47, allocations: 174.3 kB / 4.106 GB, free: 124.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004338/11.47, allocations: 0.6273 MB / 4.106 GB, free: 124.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003911/11.47, allocations: 1.43 MB / 4.108 GB, free: 123.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004149/11.47, allocations: 157.3 kB / 4.108 GB, free: 123.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/11.47, allocations: 122.6 kB / 4.108 GB, free: 123.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002723/11.48, allocations: 1.359 MB / 4.109 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/11.48, allocations: 0 / 4.109 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/11.48, allocations: 46.97 kB / 4.109 GB, free: 123.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.529e-05/11.48, allocations: 46.78 kB / 4.109 GB, free: 123.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/11.48, allocations: 1.056 MB / 4.11 GB, free: 123 MB / 0.948 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.009051/11.49, allocations: 5.876 MB / 4.116 GB, free: 119.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/11.49, allocations: 0.9772 MB / 4.117 GB, free: 118.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000644/11.49, allocations: 484.3 kB / 4.117 GB, free: 118.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005442/11.49, allocations: 318 kB / 4.118 GB, free: 118.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008505/11.49, allocations: 0.536 MB / 4.118 GB, free: 118 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 6.242e-06/11.49, allocations: 3.938 kB / 4.118 GB, free: 118 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.007637/11.5, allocations: 3.05 MB / 4.121 GB, free: 116.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.079e-05/11.5, allocations: 201 kB / 4.121 GB, free: 116.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/11.5, allocations: 1.141 MB / 4.123 GB, free: 115.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/11.5, allocations: 49.05 kB / 4.123 GB, free: 115.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006445/11.5, allocations: 0.713 MB / 4.123 GB, free: 115.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002809/11.5, allocations: 334.5 kB / 4.124 GB, free: 115 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/11.5, allocations: 15.78 kB / 4.124 GB, free: 115 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001047/11.5, allocations: 341 kB / 4.124 GB, free: 114.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006152/11.5, allocations: 386 kB / 4.124 GB, free: 114.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007381/11.5, allocations: 0.6137 MB / 4.125 GB, free: 114.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/11.51, allocations: 2.363 MB / 4.127 GB, free: 113.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/11.51, allocations: 0 / 4.127 GB, free: 113.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004344/11.52, allocations: 1.66 MB / 4.129 GB, free: 113 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004352/11.52, allocations: 1.297 MB / 4.13 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/11.52, allocations: 3.938 kB / 4.13 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/11.52, allocations: 423.6 kB / 4.131 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008016/11.52, allocations: 179 kB / 4.131 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007113/11.53, allocations: 6.885 MB / 4.137 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/11.53, allocations: 142.2 kB / 4.138 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/11.53, allocations: 37.94 kB / 4.138 GB, free: 105.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/11.53, allocations: 10.38 kB / 4.138 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003539/11.53, allocations: 1.5 MB / 4.139 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/11.53, allocations: 7.578 kB / 4.139 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/11.54, allocations: 415.8 kB / 4.14 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007145/11.54, allocations: 184.3 kB / 4.14 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007801/11.54, allocations: 7.887 MB / 4.147 GB, free: 98.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/11.55, allocations: 141.3 kB / 4.148 GB, free: 98.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/11.55, allocations: 40.08 kB / 4.148 GB, free: 98.39 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 () * 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.0003879/11.55, allocations: 200.7 kB / 4.148 GB, free: 98.21 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/11.55, allocations: 170.8 kB / 4.148 GB, free: 98.12 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00359/11.55, allocations: 1.457 MB / 4.149 GB, free: 97.56 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/11.55, allocations: 9.5 kB / 4.149 GB, free: 97.56 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/11.55, allocations: 0 / 4.149 GB, free: 97.56 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002726/11.55, allocations: 1.319 MB / 4.151 GB, free: 96.98 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006974/11.56, allocations: 3.34 MB / 4.154 GB, free: 95.42 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/11.56, allocations: 3.75 kB / 4.154 GB, free: 95.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009669/11.56, allocations: 200.6 kB / 4.154 GB, free: 95.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005998/11.56, allocations: 201.6 kB / 4.154 GB, free: 95.34 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.745e-05/11.56, allocations: 31.03 kB / 4.154 GB, free: 95.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002716/11.57, allocations: 2.486 MB / 4.157 GB, free: 93.21 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/11.57, allocations: 11.17 kB / 4.157 GB, free: 93.21 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004577/11.57, allocations: 2.405 MB / 4.159 GB, free: 91.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/11.57, allocations: 359.2 kB / 4.159 GB, free: 91.57 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/11.57, allocations: 24.06 kB / 4.159 GB, free: 91.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/11.57, allocations: 143.7 kB / 4.16 GB, free: 91.54 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/11.57, allocations: 81.53 kB / 4.16 GB, free: 91.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/11.57, allocations: 35.91 kB / 4.16 GB, free: 91.51 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001942/11.58, allocations: 0.8942 MB / 4.161 GB, free: 91.14 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/11.58, allocations: 0 / 4.161 GB, free: 91.14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005582/11.58, allocations: 1.02 MB / 4.162 GB, free: 90.95 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.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.01037/11.59, allocations: 6.224 MB / 4.168 GB, free: 86.96 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004582/11.6, allocations: 2.705 MB / 4.17 GB, free: 85.29 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.618e-05/11.6, allocations: 3.812 kB / 4.17 GB, free: 85.29 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/11.6, allocations: 0.7052 MB / 4.171 GB, free: 84.91 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005187/11.6, allocations: 0.8704 MB / 4.172 GB, free: 84.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007785/11.61, allocations: 3.003 MB / 4.175 GB, free: 83.32 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009929/11.61, allocations: 1.392 MB / 4.176 GB, free: 82.55 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002547/11.61, allocations: 499.4 kB / 4.177 GB, free: 82.45 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008111/11.62, allocations: 0.6093 MB / 4.177 GB, free: 81.96 MB / 0.948 GB Notification: Performance of SimCode: time 1.212e-06/11.62, allocations: 0 / 4.177 GB, free: 81.96 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1499/11.77, allocations: 91.99 MB / 4.267 GB, free: 3.898 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/11.77, allocations: 225.6 kB / 4.267 GB, free: 3.672 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.666/17.43, allocations: 8 kB / 4.267 GB, free: 3.664 MB / 0.948 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)