Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Examples.Performance.Example5.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.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001706/0.001707, allocations: 192.9 kB / 16.14 MB, free: 6.695 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 61.16 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3481, allocations: 159.9 MB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001825/0.35, allocations: 0.5898 MB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001767/0.3502, allocations: 39.86 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.3502, allocations: 3.938 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.3503, allocations: 4 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.3504, allocations: 8 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.594e-05/0.3505, allocations: 0 / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.718e-05/0.3506, allocations: 11.94 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.631e-05/0.3506, allocations: 3.984 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.715e-05/0.3507, allocations: 11.94 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.742e-05/0.3508, allocations: 4 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.3508, allocations: 0 / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.3508, allocations: 4 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.607e-05/0.3509, allocations: 14.14 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.3509, allocations: 3.938 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.516e-05/0.351, allocations: 15.92 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.351, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.41e-07/0.351, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.351, allocations: 0 / 1.068 GB, free: 10.21 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004387/0.3515, allocations: 327.5 kB / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3515, allocations: 8.031 kB / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.3515, allocations: 8.938 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.3518, allocations: 180.5 kB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3518, allocations: 384 / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.3518, allocations: 384 / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.352, allocations: 42.17 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.352, allocations: 192 / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.352, allocations: 3.938 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.352, allocations: 0 / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.261e-05/0.352, allocations: 4 kB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.3522, allocations: 161.7 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.332e-05/0.3523, allocations: 18.58 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.533e-05/0.3523, allocations: 16.84 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.3523, allocations: 0 / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.3524, allocations: 34.5 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3524, allocations: 0 / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001647/0.3526, allocations: 45.62 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.3526, allocations: 59.53 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.3527, allocations: 105.8 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.3528, allocations: 25.7 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/0.3528, allocations: 88.14 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.3528, allocations: 3.906 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.3529, allocations: 21.64 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.353, allocations: 314.8 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.227e-05/0.3531, allocations: 8 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.13e-05/0.3531, allocations: 25.64 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.193e-05/0.3531, allocations: 13.72 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3532, allocations: 4 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.674e-05/0.3532, allocations: 49.62 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3533, allocations: 4 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3533, allocations: 4.062 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3533, allocations: 4 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.3534, allocations: 7.984 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3534, allocations: 0 / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.588e-05/0.3534, allocations: 4 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.3534, allocations: 0 / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001014/0.3535, allocations: 105.8 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-06/0.3535, allocations: 4 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.3537, allocations: 61.08 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3537, allocations: 4 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3537, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3537, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.3538, allocations: 157.7 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3538, allocations: 0 / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.233e-05/0.3539, allocations: 4 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3539, allocations: 0 / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3539, allocations: 3.938 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3539, allocations: 0 / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3539, allocations: 4 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.3541, allocations: 85.05 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.3542, allocations: 81.3 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3542, allocations: 7.969 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.533e-05/0.3542, allocations: 7.984 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.3542, allocations: 0 / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.3542, allocations: 3.938 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.31e-05/0.3543, allocations: 91.27 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3543, allocations: 4.094 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001875/0.3545, allocations: 4 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0001749/0.3547, allocations: 102.7 kB / 1.07 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.446e-05/0.3548, allocations: 11.98 kB / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3548, allocations: 0 / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.83e-05/0.3548, allocations: 11.94 kB / 1.07 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.355, allocations: 4 kB / 1.07 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/0.3553, allocations: 115.5 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.3556, allocations: 0.6848 MB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.753e-05/0.3557, allocations: 0 / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.3557, allocations: 15.42 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of SimCode: time 4e-07/0.3557, allocations: 0 / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of Templates: time 0.002162/0.3579, allocations: 301.1 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1)