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.0009157/0.0009161, allocations: 90.52 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.008801/0.008801, allocations: 174.1 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.498/1.498, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.929/2.929, allocations: 473.4 MB / 0.7469 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.000369, allocations: 8.406 kB / 0.9158 GB, free: 33.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3885, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0008976/0.3895, allocations: 330.8 kB / 1.074 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002905/0.3924, allocations: 1.75 MB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.3925, allocations: 0 / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.3925, allocations: 4 kB / 1.076 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.469e-05/0.3926, allocations: 3.938 kB / 1.076 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.3936, allocations: 255 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.3938, allocations: 123.8 kB / 1.077 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.438e-05/0.3939, allocations: 0 / 1.077 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.073e-05/0.394, allocations: 47.97 kB / 1.077 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.3941, allocations: 63.84 kB / 1.077 GB, free: 5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.3941, allocations: 4 kB / 1.077 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005536/0.3947, allocations: 287.7 kB / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.3947, allocations: 39.89 kB / 1.077 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.486e-05/0.3948, allocations: 77.42 kB / 1.077 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.3952, allocations: 271.4 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3952, allocations: 4 kB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.605e-06/0.3952, allocations: 0 / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3953, allocations: 0 / 1.077 GB, free: 4.324 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.0006685/0.3959, allocations: 415.6 kB / 1.078 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.396, allocations: 12.03 kB / 1.078 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.396, allocations: 16.75 kB / 1.078 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.3961, allocations: 172.3 kB / 1.078 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.3962, allocations: 8.375 kB / 1.078 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.3962, allocations: 16.12 kB / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.3965, allocations: 211.9 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3966, allocations: 3.938 kB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.3966, allocations: 12 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3966, allocations: 0 / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.3969, allocations: 175.8 kB / 1.078 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.3972, allocations: 282.1 kB / 1.079 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006992/0.3979, allocations: 407.7 kB / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.3981, allocations: 189.1 kB / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003339/0.3985, allocations: 199.1 kB / 1.079 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.3985, allocations: 42.56 kB / 1.079 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 3.356e-06/0.3985, allocations: 3.984 kB / 1.079 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0006341/0.3992, allocations: 385.2 kB / 1.08 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.998e-05/0.3993, allocations: 195.8 kB / 1.08 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.815e-05/0.3994, allocations: 89.86 kB / 1.08 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.3994, allocations: 33.7 kB / 1.08 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.661e-05/0.3994, allocations: 80.7 kB / 1.08 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.583e-05/0.3995, allocations: 98.55 kB / 1.08 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.3996, allocations: 29.7 kB / 1.08 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3997, allocations: 327 kB / 1.081 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.3998, allocations: 83.94 kB / 1.081 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.4, allocations: 149.5 kB / 1.081 GB, free: 376 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.4004, allocations: 254.5 kB / 1.081 GB, free: 104 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4004, allocations: 4 kB / 1.081 GB, free: 100 kB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004295/0.4008, allocations: 297.5 kB / 1.081 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.4008, allocations: 4 kB / 1.081 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4009, allocations: 4 kB / 1.081 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.4009, allocations: 4 kB / 1.081 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.4011, allocations: 55.97 kB / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.4011, allocations: 11.97 kB / 1.081 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.207e-05/0.4012, allocations: 15.84 kB / 1.081 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.4013, allocations: 12 kB / 1.081 GB, free: 15.69 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.0001234/0.4014, allocations: 145.8 kB / 1.082 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.4014, allocations: 11.84 kB / 1.082 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005862/0.402, allocations: 356.8 kB / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.402, allocations: 4 kB / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.402, allocations: 4 kB / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.4021, allocations: 3.984 kB / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.4023, allocations: 261.2 kB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4023, allocations: 4 kB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.4025, allocations: 55.91 kB / 1.082 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.4026, allocations: 4 kB / 1.082 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.4026, allocations: 11.98 kB / 1.082 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4026, allocations: 8.312 kB / 1.082 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4026, allocations: 0 / 1.082 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.4031, allocations: 349 kB / 1.083 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.4032, allocations: 120.9 kB / 1.083 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.4032, allocations: 4 kB / 1.083 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.4033, allocations: 4 kB / 1.083 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.4034, allocations: 27.95 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.4034, allocations: 12 kB / 1.083 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.4034, allocations: 79.28 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4034, allocations: 0 / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004094/0.4039, allocations: 95.98 kB / 1.083 GB, free: 14.05 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.0005899/0.4045, allocations: 218.5 kB / 1.083 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000411/0.4049, allocations: 243.7 kB / 1.083 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4049, allocations: 0 / 1.083 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.4051, allocations: 145 kB / 1.083 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.4053, allocations: 16 kB / 1.083 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005693/0.4059, allocations: 396.6 kB / 1.084 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.4061, allocations: 0.7127 MB / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002367/0.4064, 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 6.721e-05/0.4065, allocations: 35.34 kB / 1.085 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.4065, allocations: 0 / 1.085 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of Templates: time 0.005705/0.4122, allocations: 2.488 MB / 1.087 GB, free: 9.637 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)