Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.699/1.699, allocations: 285.4 MB / 298 MB, free: 6 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.001378/0.001378, allocations: 172.8 kB / 366.4 MB, free: 2.09 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.001/2.001, allocations: 205.1 MB / 0.6248 GB, free: 7.711 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.0009858/0.0009859, allocations: 99.48 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.777e-05/4.779e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.952/0.9521, allocations: 115.3 MB / 0.971 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.449/6.401, allocations: 2.086 GB / 3.057 GB, free: 52.42 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/6.401, allocations: 88.67 kB / 3.057 GB, free: 52.33 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.084/10.49, allocations: 1.036 GB / 4.094 GB, free: 98.66 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.435e-06/10.49, allocations: 4 kB / 4.094 GB, free: 98.66 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003055/10.49, allocations: 43.98 kB / 4.094 GB, free: 98.62 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.005739/10.49, allocations: 2.069 MB / 4.096 GB, free: 96.48 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/10.49, allocations: 8.031 kB / 4.096 GB, free: 96.47 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003484/10.49, allocations: 177.3 kB / 4.096 GB, free: 96.29 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004043/10.5, allocations: 0.6337 MB / 4.096 GB, free: 95.65 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003361/10.5, allocations: 1.434 MB / 4.098 GB, free: 94.16 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003402/10.5, allocations: 154.2 kB / 4.098 GB, free: 94.01 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/10.5, allocations: 127.9 kB / 4.098 GB, free: 93.89 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/10.5, allocations: 1.35 MB / 4.099 GB, free: 92.46 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/10.5, allocations: 0 / 4.099 GB, free: 92.46 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/10.5, allocations: 48 kB / 4.099 GB, free: 92.41 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-05/10.5, allocations: 50.16 kB / 4.099 GB, free: 92.36 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/10.5, allocations: 1.047 MB / 4.1 GB, free: 91.31 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.008303/10.51, allocations: 5.888 MB / 4.106 GB, free: 85.11 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/10.51, allocations: 0.9776 MB / 4.107 GB, free: 84.08 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005737/10.51, allocations: 483.6 kB / 4.108 GB, free: 83.61 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004897/10.51, allocations: 316 kB / 4.108 GB, free: 83.25 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007163/10.52, allocations: 0.5302 MB / 4.108 GB, free: 82.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 4.869e-06/10.52, allocations: 0 / 4.108 GB, free: 82.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.00659/10.52, allocations: 3.047 MB / 4.111 GB, free: 79.58 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/10.52, allocations: 188.7 kB / 4.112 GB, free: 79.35 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/10.52, allocations: 1.154 MB / 4.113 GB, free: 78.19 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001407/10.52, allocations: 45.7 kB / 4.113 GB, free: 78.14 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/10.52, allocations: 0.7286 MB / 4.113 GB, free: 77.41 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002268/10.52, allocations: 323.3 kB / 4.114 GB, free: 77.09 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/10.52, allocations: 20 kB / 4.114 GB, free: 77.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.969e-05/10.52, allocations: 334 kB / 4.114 GB, free: 76.73 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/10.53, allocations: 393.9 kB / 4.115 GB, free: 76.35 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006396/10.53, allocations: 0.6126 MB / 4.115 GB, free: 75.65 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009599/10.54, allocations: 2.373 MB / 4.117 GB, free: 73.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/10.54, allocations: 0 / 4.117 GB, free: 73.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00379/10.54, allocations: 1.654 MB / 4.119 GB, free: 71.57 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002921/10.54, allocations: 1.296 MB / 4.12 GB, free: 70.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/10.54, allocations: 0 / 4.12 GB, free: 70.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009907/10.54, allocations: 427 kB / 4.121 GB, free: 69.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007324/10.54, allocations: 178 kB / 4.121 GB, free: 69.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006117/10.55, allocations: 6.877 MB / 4.128 GB, free: 62.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/10.55, allocations: 147.8 kB / 4.128 GB, free: 62.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/10.55, allocations: 39.98 kB / 4.128 GB, free: 62.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/10.55, allocations: 4.625 kB / 4.128 GB, free: 62.06 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003411/10.55, allocations: 1.499 MB / 4.129 GB, free: 60.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/10.55, allocations: 4.188 kB / 4.129 GB, free: 60.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009633/10.55, allocations: 423.5 kB / 4.13 GB, free: 60.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007263/10.56, allocations: 167.8 kB / 4.13 GB, free: 59.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007147/10.56, allocations: 7.914 MB / 4.138 GB, free: 51.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/10.56, allocations: 143.7 kB / 4.138 GB, free: 51.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002521/10.56, allocations: 36 kB / 4.138 GB, free: 51.3 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.000525/10.57, allocations: 194.8 kB / 4.138 GB, free: 51.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005668/10.57, allocations: 166 kB / 4.138 GB, free: 50.94 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/10.57, allocations: 1.461 MB / 4.139 GB, free: 49.45 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/10.57, allocations: 8 kB / 4.14 GB, free: 49.44 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/10.57, allocations: 4 kB / 4.14 GB, free: 49.44 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0026/10.57, allocations: 1.31 MB / 4.141 GB, free: 48.09 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007495/10.58, allocations: 3.341 MB / 4.144 GB, free: 44.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/10.58, allocations: 4.562 kB / 4.144 GB, free: 44.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008892/10.58, allocations: 195.7 kB / 4.144 GB, free: 44.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004569/10.58, allocations: 197.6 kB / 4.144 GB, free: 44.21 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/10.58, allocations: 31.98 kB / 4.144 GB, free: 44.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/10.58, allocations: 2.491 MB / 4.147 GB, free: 41.52 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/10.58, allocations: 7.938 kB / 4.147 GB, free: 41.52 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004097/10.59, allocations: 2.417 MB / 4.149 GB, free: 38.91 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/10.59, allocations: 362.9 kB / 4.15 GB, free: 38.54 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005743/10.59, allocations: 31.98 kB / 4.15 GB, free: 38.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/10.59, allocations: 139.8 kB / 4.15 GB, free: 38.37 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/10.59, allocations: 68.59 kB / 4.15 GB, free: 38.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/10.59, allocations: 39.98 kB / 4.15 GB, free: 38.27 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001875/10.59, allocations: 0.8895 MB / 4.151 GB, free: 37.38 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/10.59, allocations: 0 / 4.151 GB, free: 37.38 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005178/10.6, allocations: 1.023 MB / 4.152 GB, free: 36.36 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.00864/10.61, allocations: 6.237 MB / 4.158 GB, free: 29.79 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004087/10.61, allocations: 2.699 MB / 4.16 GB, free: 26.97 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/10.61, allocations: 0 / 4.16 GB, free: 26.97 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009431/10.61, allocations: 0.7132 MB / 4.161 GB, free: 26.23 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005016/10.62, allocations: 0.8659 MB / 4.162 GB, free: 25.38 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008861/10.63, allocations: 3.005 MB / 4.165 GB, free: 22.27 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/10.63, allocations: 1.398 MB / 4.166 GB, free: 20.85 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002874/10.63, allocations: 496.6 kB / 4.167 GB, free: 20.36 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008191/10.63, allocations: 0.6086 MB / 4.167 GB, free: 19.75 MB / 0.948 GB Notification: Performance of SimCode: time 8.72e-07/10.63, allocations: 0 / 4.167 GB, free: 19.75 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.786/11.42, allocations: 92 MB / 4.257 GB, free: 154.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/11.42, allocations: 244.7 kB / 4.257 GB, free: 154.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.377/16.8, allocations: 3.688 kB / 4.257 GB, free: 154.1 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)