Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",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.427/1.427, allocations: 249.5 MB / 257 MB, free: 6.98 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.001035/0.001035, allocations: 176.9 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0009119/0.0009117, allocations: 88.73 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.244e-05/2.244e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2302, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.693/0.9233, allocations: 134.5 MB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.9236, allocations: 87 kB / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04268/0.9663, allocations: 14.83 MB / 1.031 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.976e-06/0.9663, allocations: 0 / 1.031 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.9663, allocations: 7.938 kB / 1.031 GB, free: 6.836 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006784/0.967, allocations: 428.7 kB / 1.032 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.9671, allocations: 12.03 kB / 1.032 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.9671, allocations: 7.906 kB / 1.032 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.9672, allocations: 182.3 kB / 1.032 GB, free: 6.145 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.9673, allocations: 4 kB / 1.032 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.9673, allocations: 4 kB / 1.032 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002723/0.9676, allocations: 158.6 kB / 1.032 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.9678, allocations: 204.1 kB / 1.032 GB, free: 5.812 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.9679, allocations: 3.984 kB / 1.032 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.9679, allocations: 0 / 1.032 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.9679, allocations: 4 kB / 1.032 GB, free: 5.805 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.9682, allocations: 242.1 kB / 1.032 GB, free: 5.535 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006046/0.9688, allocations: 390.4 kB / 1.033 GB, free: 5.164 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.969, allocations: 169.6 kB / 1.033 GB, free: 5.016 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002848/0.9693, allocations: 198.3 kB / 1.033 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.9693, allocations: 38.31 kB / 1.033 GB, free: 4.746 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 2.966e-06/0.9693, allocations: 0 / 1.033 GB, free: 4.746 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.0005319/0.9699, allocations: 277.7 kB / 1.033 GB, free: 4.516 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.9699, allocations: 191.8 kB / 1.034 GB, free: 4.285 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.659e-05/0.97, allocations: 85 kB / 1.034 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.97, allocations: 25.7 kB / 1.034 GB, free: 4.164 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.495e-05/0.97, allocations: 84.64 kB / 1.034 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.9701, allocations: 96.69 kB / 1.034 GB, free: 3.996 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.9702, allocations: 0 / 1.034 GB, free: 3.996 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.9703, allocations: 326.8 kB / 1.034 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.9704, allocations: 77.2 kB / 1.034 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.9705, allocations: 126.3 kB / 1.034 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.9708, allocations: 108.9 kB / 1.035 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9708, allocations: 0 / 1.035 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004607/0.9713, allocations: 262.6 kB / 1.035 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.9713, allocations: 13.88 kB / 1.035 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.9713, allocations: 0 / 1.035 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.9713, allocations: 4 kB / 1.035 GB, free: 3.176 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.9715, allocations: 59.39 kB / 1.035 GB, free: 3.121 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.9716, allocations: 4 kB / 1.035 GB, free: 3.117 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.489e-05/0.9717, allocations: 15.78 kB / 1.035 GB, free: 3.102 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.9717, allocations: 15.73 kB / 1.035 GB, free: 3.09 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 8.058e-05/0.9718, allocations: 107 kB / 1.035 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004624/0.9722, allocations: 271.6 kB / 1.035 GB, free: 2.754 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.9723, allocations: 23.8 kB / 1.035 GB, free: 2.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006104/0.9729, allocations: 330.3 kB / 1.036 GB, free: 2.473 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.9729, allocations: 4 kB / 1.036 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.9729, allocations: 4 kB / 1.036 GB, free: 2.465 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.9729, allocations: 0 / 1.036 GB, free: 2.465 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.9732, allocations: 224 kB / 1.036 GB, free: 2.223 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.9732, allocations: 0 / 1.036 GB, free: 2.223 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.9734, allocations: 50.59 kB / 1.036 GB, free: 2.176 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.9734, allocations: 7.953 kB / 1.036 GB, free: 2.168 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.9734, allocations: 15.98 kB / 1.036 GB, free: 2.152 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.9734, allocations: 7.938 kB / 1.036 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9735, allocations: 0 / 1.036 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005255/0.974, allocations: 379.8 kB / 1.036 GB, free: 1.762 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.974, allocations: 99.44 kB / 1.036 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.9741, allocations: 7.922 kB / 1.036 GB, free: 1.641 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/0.9742, allocations: 3.953 kB / 1.036 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.9742, allocations: 31.03 kB / 1.036 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.9743, allocations: 11.98 kB / 1.036 GB, free: 1.598 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.928e-05/0.9743, allocations: 79.28 kB / 1.036 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9743, allocations: 0 / 1.036 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004472/0.9747, allocations: 103.4 kB / 1.037 GB, free: 1.422 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * 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.0013/0.9761, allocations: 1.365 MB / 1.038 GB, free: 56 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003413/0.9764, allocations: 227.6 kB / 1.038 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.9764, allocations: 0 / 1.038 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.9766, allocations: 130.1 kB / 1.038 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.9767, allocations: 7.953 kB / 1.038 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006612/0.9774, allocations: 355.1 kB / 1.039 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.9777, allocations: 0.7243 MB / 1.039 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000223/0.9779, allocations: 109.2 kB / 1.039 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.355e-05/0.978, allocations: 41.22 kB / 1.039 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of SimCode: time 2.4e-07/0.978, allocations: 0 / 1.039 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.9984, allocations: 3.349 MB / 1.043 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.9987, allocations: 202.4 kB / 1.043 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.528, allocations: 0 / 1.043 GB, free: 10.98 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)