Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.744/1.744, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001592/0.001592, allocations: 176.8 kB / 366.7 MB, free: 1.668 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.02/2.02, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.001031/0.001031, allocations: 92.05 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.634e-05/2.635e-05, allocations: 8 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7244/0.7244, allocations: 116.3 MB / 0.9734 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2025/0.9269, allocations: 140.8 MB / 1.111 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.9272, allocations: 83.94 kB / 1.111 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0446/0.9719, allocations: 14.84 MB / 1.125 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9719, allocations: 0 / 1.125 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.9719, allocations: 0 / 1.125 GB, free: 10.52 MB / 0.7292 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.0006963/0.9726, allocations: 442.1 kB / 1.126 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.9727, allocations: 8.031 kB / 1.126 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.9727, allocations: 11.91 kB / 1.126 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.9728, allocations: 174.9 kB / 1.126 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.9729, allocations: 4 kB / 1.126 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.9729, allocations: 8 kB / 1.126 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002786/0.9732, allocations: 155.9 kB / 1.126 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.9735, allocations: 202.6 kB / 1.126 GB, free: 9.426 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.9735, allocations: 4 kB / 1.126 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.9735, allocations: 0 / 1.126 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.9735, allocations: 4 kB / 1.126 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.9738, allocations: 243.6 kB / 1.127 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006461/0.9745, allocations: 396 kB / 1.127 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.9747, allocations: 173.1 kB / 1.127 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003146/0.975, allocations: 191.5 kB / 1.127 GB, free: 8.281 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.975, allocations: 46.5 kB / 1.127 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 1.403e-06/0.9751, allocations: 0 / 1.127 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.0005848/0.9756, allocations: 262.2 kB / 1.128 GB, free: 7.965 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.562e-05/0.9758, allocations: 191.9 kB / 1.128 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.614e-05/0.9758, allocations: 85 kB / 1.128 GB, free: 7.645 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.9758, allocations: 25.7 kB / 1.128 GB, free: 7.613 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.9759, allocations: 84.7 kB / 1.128 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.571e-05/0.976, allocations: 98.56 kB / 1.128 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.976, allocations: 0 / 1.128 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.9761, allocations: 322.8 kB / 1.128 GB, free: 7.102 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.9762, allocations: 79.95 kB / 1.128 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.9764, allocations: 122.6 kB / 1.129 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.9767, allocations: 113.9 kB / 1.129 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.9767, allocations: 0 / 1.129 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004763/0.9772, allocations: 264.1 kB / 1.129 GB, free: 6.516 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.9772, allocations: 7.953 kB / 1.129 GB, free: 6.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.9772, allocations: 4 kB / 1.129 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.9772, allocations: 3.984 kB / 1.129 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.9775, allocations: 59.91 kB / 1.129 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.9775, allocations: 4 kB / 1.129 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.9776, allocations: 15.69 kB / 1.129 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.9776, allocations: 15.98 kB / 1.129 GB, free: 6.406 MB / 0.7292 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 9.271e-05/0.9777, allocations: 108.9 kB / 1.129 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004808/0.9782, allocations: 272.6 kB / 1.129 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.9783, allocations: 17.27 kB / 1.129 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006288/0.9789, allocations: 335.9 kB / 1.13 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.9789, allocations: 4 kB / 1.13 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.9789, allocations: 4 kB / 1.13 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.9789, allocations: 7.922 kB / 1.13 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.9792, allocations: 210 kB / 1.13 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.9792, allocations: 8 kB / 1.13 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.9794, allocations: 51.91 kB / 1.13 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.9794, allocations: 4 kB / 1.13 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.9794, allocations: 15.94 kB / 1.13 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.9794, allocations: 7.938 kB / 1.13 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9795, allocations: 0 / 1.13 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000543/0.98, allocations: 388.7 kB / 1.13 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.9801, allocations: 92.86 kB / 1.131 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.9801, allocations: 4 kB / 1.131 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.238e-05/0.9802, allocations: 6.719 kB / 1.131 GB, free: 4.781 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.9802, allocations: 31.86 kB / 1.131 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.9803, allocations: 15.98 kB / 1.131 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.827e-05/0.9803, allocations: 75.28 kB / 1.131 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9803, allocations: 0 / 1.131 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004729/0.9808, allocations: 103.9 kB / 1.131 GB, free: 4.559 MB / 0.7292 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.001593/0.9824, allocations: 1.371 MB / 1.132 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003591/0.9827, allocations: 222.4 kB / 1.132 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.9828, allocations: 0 / 1.132 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.9829, allocations: 123.8 kB / 1.132 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.9831, allocations: 15.33 kB / 1.132 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007919/0.9839, allocations: 358.5 kB / 1.133 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.9843, allocations: 0.7163 MB / 1.133 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002515/0.9845, allocations: 106.4 kB / 1.134 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.604e-05/0.9846, allocations: 39.41 kB / 1.134 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.9846, allocations: 0 / 1.134 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/1.008, allocations: 3.337 MB / 1.137 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/1.008, allocations: 187.1 kB / 1.137 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/2.75, allocations: 0 / 1.137 GB, free: 14.03 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)