Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.733/1.733, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001079/0.001079, allocations: 176.8 kB / 361.4 MB, free: 6.82 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.792/1.792, allocations: 205.3 MB / 0.62 GB, free: 11.67 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.0008528/0.0008528, allocations: 96.88 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.72e-05/2.721e-05, allocations: 12 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.733/0.733, allocations: 115.3 MB / 0.9645 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2073/0.9404, allocations: 139.7 MB / 1.101 GB, free: 56 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.9408, allocations: 83.95 kB / 1.101 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02312/0.9639, allocations: 7.491 MB / 1.108 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.533e-06/0.964, allocations: 0 / 1.108 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.768e-05/0.964, allocations: 8 kB / 1.108 GB, free: 8.547 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009847/0.965, allocations: 0.5541 MB / 1.109 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.965, allocations: 8.031 kB / 1.109 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002485/0.9653, allocations: 40.64 kB / 1.109 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005503/0.9659, allocations: 302.6 kB / 1.109 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.9659, allocations: 4 kB / 1.109 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.9659, allocations: 9.594 kB / 1.109 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002091/0.9661, allocations: 96.48 kB / 1.109 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.9664, allocations: 160.5 kB / 1.109 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.9664, allocations: 3.938 kB / 1.109 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.9665, allocations: 0 / 1.109 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.9665, allocations: 4 kB / 1.109 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.9678, allocations: 0.9118 MB / 1.11 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.9683, allocations: 189.2 kB / 1.11 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.885e-05/0.9684, allocations: 54.5 kB / 1.111 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.9684, allocations: 0 / 1.111 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.9685, allocations: 38.88 kB / 1.111 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.031e-06/0.9685, allocations: 0 / 1.111 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004313/0.9689, allocations: 147.2 kB / 1.111 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.969, allocations: 85.11 kB / 1.111 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.9692, allocations: 214.3 kB / 1.111 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.9692, allocations: 29.7 kB / 1.111 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.9694, allocations: 160.2 kB / 1.111 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.9694, allocations: 55.95 kB / 1.111 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-06/0.9694, allocations: 0 / 1.111 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.9696, allocations: 334.8 kB / 1.112 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-05/0.9697, allocations: 40 kB / 1.112 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.9698, allocations: 93.94 kB / 1.112 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.9699, allocations: 50.7 kB / 1.112 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.97, allocations: 0 / 1.112 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003729/0.9703, allocations: 185.2 kB / 1.112 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.9704, allocations: 11.94 kB / 1.112 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.9704, allocations: 0 / 1.112 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.9704, allocations: 4 kB / 1.112 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.9707, allocations: 79.84 kB / 1.112 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.9707, allocations: 6.969 kB / 1.112 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.971, allocations: 39.81 kB / 1.112 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.971, allocations: 12 kB / 1.112 GB, free: 4.41 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.22e-05/0.9711, allocations: 112.9 kB / 1.112 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00033/0.9714, allocations: 145.3 kB / 1.112 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.9716, allocations: 31.62 kB / 1.112 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.9719, allocations: 176 kB / 1.112 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.9719, allocations: 0 / 1.112 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.972, allocations: 7.359 kB / 1.113 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.972, allocations: 4 kB / 1.113 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.9723, allocations: 261.9 kB / 1.113 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.9723, allocations: 0 / 1.113 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.9726, allocations: 63.95 kB / 1.113 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.9726, allocations: 7.953 kB / 1.113 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.9726, allocations: 0 / 1.113 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.9727, allocations: 3.984 kB / 1.113 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.9727, allocations: 11.94 kB / 1.113 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.9731, allocations: 332.2 kB / 1.113 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-05/0.9732, allocations: 100.8 kB / 1.113 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.9732, allocations: 7.938 kB / 1.113 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.9735, allocations: 43.95 kB / 1.113 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.999e-05/0.9736, allocations: 15.97 kB / 1.113 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.9736, allocations: 8 kB / 1.113 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001522/0.9737, allocations: 166 kB / 1.113 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9738, allocations: 0 / 1.113 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003779/0.9741, allocations: 56.03 kB / 1.114 GB, free: 2.789 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008505/0.975, allocations: 0.9713 MB / 1.114 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.9753, allocations: 127.8 kB / 1.115 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9753, allocations: 320 / 1.115 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.9754, allocations: 67.88 kB / 1.115 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.9759, allocations: 67.17 kB / 1.115 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008087/0.9767, allocations: 345.9 kB / 1.115 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.9771, allocations: 0.7594 MB / 1.116 GB, free: 380 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001497/0.9772, allocations: 27.64 kB / 1.116 GB, free: 352 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.9774, allocations: 80.72 kB / 1.116 GB, free: 272 kB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.9774, allocations: 0 / 1.116 GB, free: 272 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/1.005, allocations: 5.247 MB / 1.121 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003238/1.005, allocations: 166.1 kB / 1.121 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.942, allocations: 0 / 1.121 GB, free: 11.02 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)