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.001244/0.001244, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.957/2.957, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001224, allocations: 68.56 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3622, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002348/0.3646, allocations: 0.6566 MB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002533/0.3671, allocations: 1.773 MB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.3672, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.56e-05/0.3673, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.486e-05/0.3673, allocations: 3.938 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007381/0.368, allocations: 239.2 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.3682, allocations: 131.8 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.3683, allocations: 0 / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.866e-05/0.3684, allocations: 55.83 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.3685, allocations: 55.94 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.3685, allocations: 8 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004522/0.369, allocations: 299 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.369, allocations: 31.92 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.949e-05/0.3691, allocations: 51.7 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.3695, allocations: 275.4 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3695, allocations: 0 / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.31e-07/0.3695, allocations: 0 / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.3695, allocations: 0 / 1.071 GB, free: 7.344 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.0006882/0.3702, allocations: 447.6 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3703, allocations: 8.031 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.3703, allocations: 16.75 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.3704, allocations: 168.3 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.3705, allocations: 12.38 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.3705, allocations: 16.12 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.3708, allocations: 219.9 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3708, allocations: 0 / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.3709, allocations: 4 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.3709, allocations: 7.984 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.3712, allocations: 175.8 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.3715, allocations: 274.1 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007445/0.3723, allocations: 411.8 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.3725, allocations: 185 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003764/0.3729, allocations: 199.2 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.3729, allocations: 46.56 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.654e-06/0.3729, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.000657/0.3736, allocations: 381.2 kB / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.874e-05/0.3737, allocations: 187.9 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.22e-05/0.3738, allocations: 93.84 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.3738, allocations: 29.83 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.3739, allocations: 84.7 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.844e-05/0.374, allocations: 106.5 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.399e-05/0.3741, allocations: 53.69 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.3742, allocations: 326.8 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.3743, allocations: 83.94 kB / 1.074 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.3745, allocations: 153.6 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.3749, allocations: 254.5 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.3749, allocations: 4 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000471/0.3754, allocations: 293.4 kB / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.3754, allocations: 11.94 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.3754, allocations: 0 / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.3755, allocations: 4 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.3757, allocations: 59.89 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.3757, allocations: 8 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.95e-05/0.3758, allocations: 15.84 kB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.3758, allocations: 8 kB / 1.075 GB, free: 2.668 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.0001276/0.376, allocations: 141.8 kB / 1.075 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.376, allocations: 15.84 kB / 1.075 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005882/0.3766, allocations: 360.7 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.3766, allocations: 4 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3766, allocations: 7.984 kB / 1.076 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3767, allocations: 4 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.3769, allocations: 253.8 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3769, allocations: 0 / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.3772, allocations: 63.89 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.3772, allocations: 4 kB / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.3772, allocations: 8 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.3772, allocations: 4 kB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.3772, allocations: 7.984 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004909/0.3777, allocations: 341 kB / 1.076 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.3779, allocations: 116.9 kB / 1.076 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.3779, allocations: 8 kB / 1.076 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.677e-05/0.378, allocations: 7.984 kB / 1.076 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.378, allocations: 27.97 kB / 1.076 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.3781, allocations: 11.94 kB / 1.076 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.96e-05/0.3781, allocations: 83.28 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3781, allocations: 0 / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000415/0.3785, allocations: 91.98 kB / 1.077 GB, free: 1.023 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.000592/0.3791, allocations: 222.2 kB / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004477/0.3796, allocations: 244.3 kB / 1.077 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3796, allocations: 3.938 kB / 1.077 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.3798, allocations: 148.5 kB / 1.077 GB, free: 424 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.38, allocations: 12 kB / 1.077 GB, free: 412 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006194/0.3806, allocations: 396.4 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.3809, allocations: 0.7127 MB / 1.078 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002468/0.3812, allocations: 113.4 kB / 1.078 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.738e-05/0.3813, allocations: 27.42 kB / 1.078 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of SimCode: time 4.71e-07/0.3813, allocations: 7.938 kB / 1.078 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of Templates: time 0.006134/0.3874, allocations: 2.5 MB / 1.081 GB, free: 12.59 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)