Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Examples.Performance.Example8.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.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00142/0.00142, allocations: 189.2 kB / 16.25 MB, free: 6.621 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.529/1.529, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.863/2.863, allocations: 472.6 MB / 0.7448 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 57.98 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3487, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001741/0.3505, allocations: 0.5781 MB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001272/0.3507, allocations: 19.89 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.443e-05/0.3507, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.3507, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.3509, allocations: 8 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.897e-06/0.3509, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.969e-05/0.351, allocations: 4 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.036e-05/0.351, allocations: 4 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.647e-05/0.3511, allocations: 3.938 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.922e-05/0.3511, allocations: 3.984 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.3511, allocations: 4 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-06/0.3511, allocations: 3.938 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.3512, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.3512, allocations: 7.984 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 4.262e-05/0.3512, allocations: 4 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3512, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3512, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.3513, allocations: 0 / 1.068 GB, free: 10.18 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002947/0.3516, allocations: 315.5 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3516, allocations: 16.02 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.3516, allocations: 0.9375 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.3517, allocations: 160.4 kB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3518, allocations: 384 / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.3518, allocations: 8.312 kB / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.3519, allocations: 47.92 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3519, allocations: 192 / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.3519, allocations: 3.938 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3519, allocations: 0 / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.487e-05/0.352, allocations: 7.984 kB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.3521, allocations: 154.5 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.237e-05/0.3522, allocations: 45.16 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.3522, allocations: 13.84 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.3522, allocations: 3.984 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.3523, allocations: 30.56 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3523, allocations: 0 / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001389/0.3524, allocations: 53.58 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.3525, allocations: 77.11 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.856e-05/0.3525, allocations: 93.84 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.3526, allocations: 25.7 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.797e-05/0.3526, allocations: 84.14 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.3526, allocations: 12.12 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.3527, allocations: 14.09 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3528, allocations: 318.8 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.3528, allocations: 4 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.606e-05/0.3528, allocations: 17.7 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.178e-05/0.3529, allocations: 17.72 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3529, allocations: 0 / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.023e-05/0.3529, allocations: 45.7 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.353, allocations: 4 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.353, allocations: 3.938 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.353, allocations: 4 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.142e-05/0.3531, allocations: 3.984 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3531, allocations: 4 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.857e-05/0.3531, allocations: 3.906 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.3531, allocations: 0 / 1.07 GB, free: 8.359 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 7.177e-05/0.3532, allocations: 109.8 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-06/0.3532, allocations: 4.062 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.3533, allocations: 56.67 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3533, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3533, allocations: 3.938 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3534, allocations: 7.938 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.3535, allocations: 149.7 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3535, allocations: 0 / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.337e-05/0.3535, allocations: 7.938 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3535, allocations: 4.062 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3535, allocations: 7.938 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3535, allocations: 0 / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3535, allocations: 0 / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.144e-05/0.3536, allocations: 68.16 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.3537, allocations: 81.11 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.3537, allocations: 3.938 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.475e-05/0.3537, allocations: 4.031 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.3537, allocations: 3.984 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.3537, allocations: 8 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.823e-05/0.3538, allocations: 75.28 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3538, allocations: 0 / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000182/0.354, allocations: 4 kB / 1.07 GB, free: 7.668 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001177/0.3541, allocations: 99.19 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.107e-05/0.3542, allocations: 12.09 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3542, allocations: 0 / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.439e-05/0.3542, allocations: 11.92 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.3543, allocations: 3.938 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002123/0.3545, allocations: 93.8 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.3548, allocations: 0.6768 MB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.78e-05/0.3548, allocations: 4.25 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.3549, allocations: 11.44 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3549, allocations: 0 / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of Templates: time 0.001934/0.3568, allocations: 189.1 kB / 1.071 GB, free: 6.508 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example8.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1)