Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime") translateModel(IBPSA.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007516/0.0007514, allocations: 89.19 kB / 16.67 MB, free: 5.742 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.0008723/0.0008724, allocations: 182.6 kB / 17.58 MB, free: 5.477 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.325/1.325, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7059/0.7059, allocations: 115.5 MB / 408.2 MB, free: 7.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003615, allocations: 12 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3425, allocations: 77.52 MB / 0.5606 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.000718/0.3432, allocations: 322.4 kB / 0.5609 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 3.688e-05/0.3433, allocations: 1.281 kB / 0.5609 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.33e-05/0.3433, allocations: 0.625 kB / 0.5609 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.3433, allocations: 5.312 kB / 0.5609 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.729e-06/0.3433, allocations: 0 / 0.5609 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.237e-05/0.3434, allocations: 1.438 kB / 0.5609 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.644e-05/0.3434, allocations: 8.828 kB / 0.5609 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.969e-05/0.3435, allocations: 2.312 kB / 0.5609 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.509e-05/0.3435, allocations: 1.062 kB / 0.5609 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.795e-05/0.3435, allocations: 0.75 kB / 0.5609 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.3435, allocations: 1.656 kB / 0.5609 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.776e-06/0.3435, allocations: 0 / 0.5609 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.3436, allocations: 1.438 kB / 0.5609 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.3436, allocations: 25.7 kB / 0.5609 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 3.789e-05/0.3436, allocations: 1.297 kB / 0.5609 GB, free: 35.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3436, allocations: 2.406 kB / 0.5609 GB, free: 35.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3436, allocations: 0 / 0.5609 GB, free: 35.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.3437, allocations: 3.938 kB / 0.5609 GB, free: 35.11 MB / 446.1 MB 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.0001838/0.3438, allocations: 307.5 kB / 0.5612 GB, free: 34.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3439, allocations: 14.16 kB / 0.5612 GB, free: 34.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.492e-05/0.3439, allocations: 2.516 kB / 0.5612 GB, free: 34.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.994e-05/0.344, allocations: 162.5 kB / 0.5614 GB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.344, allocations: 5.688 kB / 0.5614 GB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.344, allocations: 4.312 kB / 0.5614 GB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.348e-05/0.3441, allocations: 33.69 kB / 0.5614 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.3441, allocations: 2.25 kB / 0.5614 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.3441, allocations: 4.641 kB / 0.5614 GB, free: 34.51 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3441, allocations: 1.375 kB / 0.5614 GB, free: 34.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.627e-05/0.3441, allocations: 3.141 kB / 0.5614 GB, free: 34.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.522e-05/0.3442, allocations: 145.9 kB / 0.5616 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.268e-05/0.3443, allocations: 18.2 kB / 0.5616 GB, free: 34.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.3443, allocations: 15.59 kB / 0.5616 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-06/0.3443, allocations: 1.875 kB / 0.5616 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.3443, allocations: 31.97 kB / 0.5617 GB, free: 34.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.3444, allocations: 0 / 0.5617 GB, free: 34.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001085/0.3445, allocations: 36.5 kB / 0.5617 GB, free: 34.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.3445, allocations: 53.33 kB / 0.5617 GB, free: 34.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.747e-05/0.3445, allocations: 90.58 kB / 0.5618 GB, free: 34.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.3445, allocations: 26.58 kB / 0.5618 GB, free: 34.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.138e-05/0.3446, allocations: 82.48 kB / 0.5619 GB, free: 33.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.3446, allocations: 4.938 kB / 0.5619 GB, free: 33.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.3446, allocations: 9.719 kB / 0.5619 GB, free: 33.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.3447, allocations: 314.7 kB / 0.5622 GB, free: 33.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/0.3447, allocations: 4.547 kB / 0.5622 GB, free: 33.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-06/0.3447, allocations: 1.094 kB / 0.5622 GB, free: 33.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.754e-05/0.3447, allocations: 13.23 kB / 0.5623 GB, free: 33.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3447, allocations: 0.5 kB / 0.5623 GB, free: 33.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.009e-05/0.3448, allocations: 36.47 kB / 0.5623 GB, free: 33.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3448, allocations: 5.844 kB / 0.5623 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3448, allocations: 1.906 kB / 0.5623 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3448, allocations: 4.594 kB / 0.5623 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.649e-05/0.3449, allocations: 2.469 kB / 0.5623 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3449, allocations: 0.6094 kB / 0.5623 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.076e-05/0.3449, allocations: 4.688 kB / 0.5623 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.3449, allocations: 1.531 kB / 0.5623 GB, free: 33.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 4.769e-05/0.345, allocations: 113.8 kB / 0.5624 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-06/0.345, allocations: 0.6562 kB / 0.5624 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.551e-05/0.345, allocations: 7.719 kB / 0.5624 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.345, allocations: 1.031 kB / 0.5624 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.345, allocations: 1.406 kB / 0.5624 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.345, allocations: 1.719 kB / 0.5624 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.222e-05/0.3451, allocations: 143.5 kB / 0.5626 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3451, allocations: 1.469 kB / 0.5626 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.098e-05/0.3451, allocations: 3.266 kB / 0.5626 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3451, allocations: 0 / 0.5626 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.3451, allocations: 3.938 kB / 0.5626 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3451, allocations: 2.5 kB / 0.5626 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3452, allocations: 2.625 kB / 0.5626 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.03e-05/0.3452, allocations: 57.03 kB / 0.5626 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.3452, allocations: 81.53 kB / 0.5627 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.3452, allocations: 5.703 kB / 0.5627 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-06/0.3453, allocations: 2.016 kB / 0.5627 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.3453, allocations: 1.781 kB / 0.5627 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.3453, allocations: 8.641 kB / 0.5627 GB, free: 33.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.418e-05/0.3453, allocations: 76.38 kB / 0.5628 GB, free: 32.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3453, allocations: 0 / 0.5628 GB, free: 32.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002069/0.3455, allocations: 5.062 kB / 0.5628 GB, free: 32.98 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 7.36e-05/0.3456, allocations: 97.38 kB / 0.5629 GB, free: 32.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.473e-05/0.3457, allocations: 4.219 kB / 0.5629 GB, free: 32.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.3457, allocations: 0 / 0.5629 GB, free: 32.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.121e-06/0.3457, allocations: 2.438 kB / 0.5629 GB, free: 32.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.3458, allocations: 4.812 kB / 0.5629 GB, free: 32.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001706/0.346, allocations: 109.6 kB / 0.563 GB, free: 32.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.219e-05/0.3461, allocations: 0.6704 MB / 0.5637 GB, free: 32.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.334e-05/0.3461, allocations: 9.625 kB / 0.5637 GB, free: 32.05 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3461, allocations: 0 / 0.5637 GB, free: 32.05 MB / 446.1 MB Notification: Performance of Templates: time 0.001498/0.3476, allocations: 323.4 kB / 0.564 GB, free: 32.05 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)