Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009007/0.0009008, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006623/0.006623, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.926/2.926, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003939, allocations: 13.53 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3808, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0009428/0.3818, allocations: 330.8 kB / 1.074 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002875/0.3847, allocations: 1.758 MB / 1.076 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.291e-05/0.3847, allocations: 0 / 1.076 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.3848, allocations: 0 / 1.076 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.841e-05/0.3848, allocations: 0 / 1.076 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.3859, allocations: 246.8 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.386, allocations: 123.8 kB / 1.077 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.362e-05/0.3861, allocations: 3.984 kB / 1.077 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.316e-05/0.3862, allocations: 47.91 kB / 1.077 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.3863, allocations: 59.92 kB / 1.077 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.3864, allocations: 4 kB / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005558/0.3869, allocations: 291.6 kB / 1.077 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.959e-05/0.387, allocations: 43.89 kB / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.089e-05/0.3871, allocations: 73.36 kB / 1.077 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.3875, allocations: 275.4 kB / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3875, allocations: 0 / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3875, allocations: 0 / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.3875, allocations: 0 / 1.077 GB, free: 4.312 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.0006386/0.3881, allocations: 423.6 kB / 1.078 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3882, allocations: 12.03 kB / 1.078 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.3882, allocations: 12.75 kB / 1.078 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.3884, allocations: 168.3 kB / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3884, allocations: 12.38 kB / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.3884, allocations: 16.12 kB / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003299/0.3888, allocations: 219.9 kB / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3888, allocations: 0 / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.3888, allocations: 4 kB / 1.078 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3888, allocations: 4 kB / 1.078 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.3891, allocations: 179.7 kB / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.3894, allocations: 278.1 kB / 1.079 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007229/0.3901, allocations: 415.8 kB / 1.079 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.3904, allocations: 181.1 kB / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003325/0.3907, allocations: 199.2 kB / 1.079 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.3908, allocations: 46.5 kB / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.472e-06/0.3908, allocations: 0 / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0006171/0.3914, allocations: 382.4 kB / 1.08 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.212e-05/0.3915, allocations: 187.9 kB / 1.08 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.663e-05/0.3916, allocations: 97.84 kB / 1.08 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.3916, allocations: 33.7 kB / 1.08 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.621e-05/0.3916, allocations: 80.7 kB / 1.08 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.07e-05/0.3917, allocations: 102.7 kB / 1.08 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.3918, allocations: 25.72 kB / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.3919, allocations: 326.8 kB / 1.081 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.392, allocations: 87.92 kB / 1.081 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.3922, allocations: 145.6 kB / 1.081 GB, free: 364 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003425/0.3925, allocations: 261.2 kB / 1.081 GB, free: 84 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3925, allocations: 0 / 1.081 GB, free: 84 kB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004225/0.393, allocations: 289.2 kB / 1.081 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.393, allocations: 4 kB / 1.081 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.393, allocations: 7.984 kB / 1.081 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.393, allocations: 0 / 1.081 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.3933, allocations: 59.91 kB / 1.081 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.3933, allocations: 4 kB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.585e-05/0.3934, allocations: 15.84 kB / 1.081 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.3934, allocations: 15.98 kB / 1.081 GB, free: 15.68 MB / 0.8419 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.0001182/0.3935, allocations: 145.7 kB / 1.082 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.3936, allocations: 11.84 kB / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000568/0.3941, allocations: 361.2 kB / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3942, allocations: 4 kB / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.3942, allocations: 4 kB / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.3942, allocations: 0 / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.3944, allocations: 265.1 kB / 1.082 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3944, allocations: 8 kB / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.3946, allocations: 51.97 kB / 1.082 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3947, allocations: 4 kB / 1.082 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.3947, allocations: 11.98 kB / 1.082 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.3947, allocations: 7.938 kB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3947, allocations: 0 / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.3951, allocations: 337.1 kB / 1.083 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.615e-05/0.3952, allocations: 121.2 kB / 1.083 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.3953, allocations: 8 kB / 1.083 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-05/0.3954, allocations: 12 kB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.3954, allocations: 23.97 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/0.3954, allocations: 11.98 kB / 1.083 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.416e-05/0.3955, allocations: 83.28 kB / 1.083 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3955, allocations: 0 / 1.083 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003955/0.3959, allocations: 95.98 kB / 1.083 GB, free: 14.04 MB / 0.8419 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.0005324/0.3964, allocations: 210.7 kB / 1.083 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003972/0.3968, allocations: 255.7 kB / 1.083 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.3969, allocations: 0 / 1.083 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.397, allocations: 139.8 kB / 1.083 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.3972, allocations: 17.69 kB / 1.083 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005503/0.3978, allocations: 393.8 kB / 1.084 GB, free: 13 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.3981, allocations: 0.7088 MB / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000229/0.3983, allocations: 109.4 kB / 1.085 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.3984, allocations: 31.36 kB / 1.085 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3984, allocations: 0 / 1.085 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of Templates: time 0.005317/0.4037, allocations: 2.493 MB / 1.087 GB, free: 9.633 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)