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.393/1.393, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00128/0.00128, allocations: 183.5 kB / 326.5 MB, free: 2.25 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.878/1.878, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.0009708/0.000971, allocations: 87.42 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003511, allocations: 9.5 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2484, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1702/0.4186, allocations: 134.2 MB / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.4189, allocations: 87.94 kB / 1.031 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04439/0.4633, allocations: 14.9 MB / 1.046 GB, free: 10.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.755e-06/0.4634, allocations: 0 / 1.046 GB, free: 10.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.4634, allocations: 0 / 1.046 GB, free: 10.37 MB / 0.698 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.000804/0.4642, allocations: 443 kB / 1.046 GB, free: 9.891 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.4643, allocations: 8.031 kB / 1.046 GB, free: 9.883 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.824e-05/0.4643, allocations: 50.55 kB / 1.046 GB, free: 9.824 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.4644, allocations: 7.906 kB / 1.046 GB, free: 9.816 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.4645, allocations: 178.8 kB / 1.047 GB, free: 9.602 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.4645, allocations: 8 kB / 1.047 GB, free: 9.594 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.4646, allocations: 12 kB / 1.047 GB, free: 9.582 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.4649, allocations: 218.6 kB / 1.047 GB, free: 9.344 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.465, allocations: 4 kB / 1.047 GB, free: 9.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.465, allocations: 4 kB / 1.047 GB, free: 9.336 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.465, allocations: 4 kB / 1.047 GB, free: 9.332 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.4653, allocations: 171.8 kB / 1.047 GB, free: 9.164 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.4657, allocations: 290 kB / 1.047 GB, free: 8.816 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007212/0.4664, allocations: 407.8 kB / 1.048 GB, free: 8.363 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003513/0.4668, allocations: 203.3 kB / 1.048 GB, free: 8.129 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.4668, allocations: 38.5 kB / 1.048 GB, free: 8.082 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 2.054e-06/0.4668, allocations: 0 / 1.048 GB, free: 8.082 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.0006572/0.4675, allocations: 385.8 kB / 1.048 GB, free: 7.699 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.751e-05/0.4676, allocations: 191.9 kB / 1.048 GB, free: 7.469 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.49e-05/0.4676, allocations: 85 kB / 1.048 GB, free: 7.379 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.4677, allocations: 29.7 kB / 1.049 GB, free: 7.344 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.4677, allocations: 80.7 kB / 1.049 GB, free: 7.262 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.4678, allocations: 106.3 kB / 1.049 GB, free: 7.156 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/0.4679, allocations: 8 kB / 1.049 GB, free: 7.148 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.468, allocations: 322.8 kB / 1.049 GB, free: 6.824 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.4681, allocations: 91.92 kB / 1.049 GB, free: 6.734 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.4683, allocations: 137.6 kB / 1.049 GB, free: 6.582 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.4685, allocations: 108.8 kB / 1.049 GB, free: 6.477 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4685, allocations: 0 / 1.049 GB, free: 6.477 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004372/0.469, allocations: 289.3 kB / 1.05 GB, free: 6.188 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.469, allocations: 12 kB / 1.05 GB, free: 6.176 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.469, allocations: 0 / 1.05 GB, free: 6.176 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.469, allocations: 4 kB / 1.05 GB, free: 6.172 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.4693, allocations: 55.91 kB / 1.05 GB, free: 6.117 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.4693, allocations: 4 kB / 1.05 GB, free: 6.113 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.4694, allocations: 15.84 kB / 1.05 GB, free: 6.098 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.752e-05/0.4695, allocations: 11.98 kB / 1.05 GB, free: 6.086 MB / 0.698 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 () * Number of clocked 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 0.0001294/0.4696, allocations: 133.8 kB / 1.05 GB, free: 5.945 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.4697, allocations: 19.84 kB / 1.05 GB, free: 5.926 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006071/0.4703, allocations: 365.3 kB / 1.05 GB, free: 5.562 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.4703, allocations: 4 kB / 1.05 GB, free: 5.559 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.4703, allocations: 4 kB / 1.05 GB, free: 5.555 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4703, allocations: 3.984 kB / 1.05 GB, free: 5.551 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.4706, allocations: 249.4 kB / 1.05 GB, free: 5.258 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4706, allocations: 0 / 1.05 GB, free: 5.258 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.4709, allocations: 59.91 kB / 1.051 GB, free: 5.199 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.4709, allocations: 11.89 kB / 1.051 GB, free: 5.188 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.4709, allocations: 7.984 kB / 1.051 GB, free: 5.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.4709, allocations: 4 kB / 1.051 GB, free: 5.176 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4709, allocations: 4 kB / 1.051 GB, free: 5.172 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.4714, allocations: 401.5 kB / 1.051 GB, free: 4.715 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.4715, allocations: 96.94 kB / 1.051 GB, free: 4.602 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.4715, allocations: 8 kB / 1.051 GB, free: 4.594 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.4717, allocations: 7.953 kB / 1.051 GB, free: 4.586 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.4717, allocations: 23.97 kB / 1.051 GB, free: 4.562 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.4717, allocations: 15.98 kB / 1.051 GB, free: 4.547 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.888e-05/0.4718, allocations: 75.28 kB / 1.051 GB, free: 4.473 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.453e-06/0.4718, allocations: 0 / 1.051 GB, free: 4.473 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005106/0.4723, allocations: 115.8 kB / 1.051 GB, free: 4.359 MB / 0.698 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 () * Number of clocked 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.001554/0.4739, allocations: 1.395 MB / 1.053 GB, free: 2.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004023/0.4743, allocations: 244.7 kB / 1.053 GB, free: 2.672 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4743, allocations: 0 / 1.053 GB, free: 2.672 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.4745, allocations: 139.8 kB / 1.053 GB, free: 2.535 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.4746, allocations: 15.89 kB / 1.053 GB, free: 2.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00087/0.4755, allocations: 473.7 kB / 1.053 GB, free: 2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.4758, allocations: 0.7181 MB / 1.054 GB, free: 1.254 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002501/0.4761, allocations: 109.4 kB / 1.054 GB, free: 1.148 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.859e-05/0.4762, allocations: 43.41 kB / 1.054 GB, free: 1.105 MB / 0.698 GB Notification: Performance of SimCode: time 3.4e-07/0.4762, allocations: 0 / 1.054 GB, free: 1.105 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5145/0.9907, allocations: 3.604 MB / 1.058 GB, free: 150.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.9909, allocations: 246.7 kB / 1.058 GB, free: 150.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.716, allocations: 0 / 1.058 GB, free: 150.6 MB / 0.698 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)