Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 192.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.793/2.793, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 66.02 kB / 0.912 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3558, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002403/0.3582, allocations: 0.5907 MB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002896/0.3612, allocations: 1.722 MB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.3612, allocations: 0 / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.3613, allocations: 0 / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.167e-05/0.3613, allocations: 3.938 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.3625, allocations: 314.7 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.3627, allocations: 123.9 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.274e-05/0.3627, allocations: 8 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.935e-05/0.3628, allocations: 43.91 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.363, allocations: 63.91 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.363, allocations: 7.938 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005568/0.3636, allocations: 284.2 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.563e-05/0.3636, allocations: 47.89 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.32e-05/0.3637, allocations: 47.72 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004731/0.3642, allocations: 275.3 kB / 1.072 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3642, allocations: 0 / 1.072 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3642, allocations: 0 / 1.072 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3642, allocations: 4 kB / 1.072 GB, free: 6.91 MB / 0.8262 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.000763/0.365, allocations: 439.4 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.365, allocations: 8.031 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.798e-05/0.3651, allocations: 16.75 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.3652, allocations: 180.2 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.3653, allocations: 8.312 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.3653, allocations: 16.12 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.3657, allocations: 219.6 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.3657, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.3657, allocations: 8 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.3657, allocations: 4 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.366, allocations: 175.8 kB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.3664, allocations: 286.1 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007616/0.3672, allocations: 407.8 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.3674, allocations: 181.1 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004442/0.3679, allocations: 195.1 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.3679, allocations: 42.56 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.3679, allocations: 0 / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0007517/0.3687, allocations: 398.4 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.3688, allocations: 183.9 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.302e-05/0.3689, allocations: 89.86 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.3689, allocations: 33.7 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.019e-05/0.369, allocations: 80.7 kB / 1.074 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.3691, allocations: 106.6 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.758e-05/0.3692, allocations: 57.69 kB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3693, allocations: 322.8 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.3695, allocations: 95.8 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.3696, allocations: 137.1 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.37, allocations: 269.2 kB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.37, allocations: 0 / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004577/0.3705, allocations: 289.2 kB / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3705, allocations: 4 kB / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3705, allocations: 4 kB / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3706, allocations: 3.984 kB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.3708, allocations: 55.91 kB / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3708, allocations: 0 / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.26e-05/0.3709, allocations: 19.84 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.3709, allocations: 19.98 kB / 1.076 GB, free: 2.227 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.3711, allocations: 134.3 kB / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.3711, allocations: 12.22 kB / 1.076 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005857/0.3717, allocations: 364.7 kB / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.3717, allocations: 4 kB / 1.076 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.3717, allocations: 4 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.3717, allocations: 0 / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.372, allocations: 265.3 kB / 1.077 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.372, allocations: 4 kB / 1.077 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.3722, allocations: 51.91 kB / 1.077 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.3723, allocations: 7.938 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.3723, allocations: 11.98 kB / 1.077 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3723, allocations: 4 kB / 1.077 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3723, allocations: 0 / 1.077 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/0.3728, allocations: 345.4 kB / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.3729, allocations: 116.9 kB / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.373, allocations: 12 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.814e-05/0.3731, allocations: 8 kB / 1.077 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.3731, allocations: 19.97 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.3731, allocations: 19.98 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.312e-05/0.3732, allocations: 75.28 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3732, allocations: 3.938 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003955/0.3736, allocations: 99.92 kB / 1.077 GB, free: 0.582 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005078/0.3741, allocations: 203.7 kB / 1.077 GB, free: 388 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004806/0.3746, allocations: 275.7 kB / 1.078 GB, free: 112 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3746, allocations: 4 kB / 1.078 GB, free: 108 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.3748, allocations: 139.9 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.375, allocations: 12 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005845/0.3756, allocations: 372.6 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.3759, allocations: 0.7163 MB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000234/0.3762, allocations: 105.4 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/0.3762, allocations: 27.41 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3762, allocations: 0 / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of Templates: time 0.005637/0.3819, allocations: 2.555 MB / 1.082 GB, free: 12.12 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)