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.001092/0.001092, allocations: 101 kB / 17.03 MB, free: 6.035 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.001089/0.00109, allocations: 196.1 kB / 17.98 MB, free: 5.113 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.261/1.261, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6817/0.6817, allocations: 115.1 MB / 407 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001808, allocations: 60.12 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3709, allocations: 76.15 MB / 0.5576 GB, free: 36.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.001587/0.3725, allocations: 0.5816 MB / 0.5581 GB, free: 36.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 3.305e-05/0.3726, allocations: 1.625 kB / 0.5581 GB, free: 36.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.553e-05/0.3726, allocations: 0 / 0.5581 GB, free: 36.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.3726, allocations: 0.9688 kB / 0.5581 GB, free: 36.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.328e-06/0.3726, allocations: 0 / 0.5581 GB, free: 36.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.239e-05/0.3727, allocations: 4 kB / 0.5581 GB, free: 36.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.694e-05/0.3727, allocations: 1.562 kB / 0.5581 GB, free: 36.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.3727, allocations: 11.02 kB / 0.5581 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.27e-05/0.3728, allocations: 0 / 0.5581 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.509e-05/0.3728, allocations: 0 / 0.5581 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.3728, allocations: 1.625 kB / 0.5582 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.066e-06/0.3728, allocations: 3.938 kB / 0.5582 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.006e-05/0.3728, allocations: 0 / 0.5582 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.746e-05/0.3728, allocations: 0 / 0.5582 GB, free: 36.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.443e-05/0.3729, allocations: 1.344 kB / 0.5582 GB, free: 36.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3729, allocations: 0.9688 kB / 0.5582 GB, free: 36.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3729, allocations: 0 / 0.5582 GB, free: 36.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3729, allocations: 0.6875 kB / 0.5582 GB, free: 36.38 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.0001816/0.3731, allocations: 313.4 kB / 0.5585 GB, free: 36.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.3731, allocations: 12.97 kB / 0.5585 GB, free: 36.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.918e-05/0.3732, allocations: 3.844 kB / 0.5585 GB, free: 36.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.969e-05/0.3732, allocations: 161.7 kB / 0.5586 GB, free: 35.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.3732, allocations: 384 / 0.5586 GB, free: 35.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-06/0.3732, allocations: 1.781 kB / 0.5586 GB, free: 35.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.273e-05/0.3733, allocations: 32.83 kB / 0.5587 GB, free: 35.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.3733, allocations: 8.172 kB / 0.5587 GB, free: 35.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.3733, allocations: 3.938 kB / 0.5587 GB, free: 35.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-06/0.3733, allocations: 0 / 0.5587 GB, free: 35.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.331e-05/0.3734, allocations: 1.438 kB / 0.5587 GB, free: 35.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.703e-05/0.3734, allocations: 148.8 kB / 0.5588 GB, free: 35.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.728e-05/0.3735, allocations: 23.45 kB / 0.5588 GB, free: 35.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/0.3735, allocations: 7 kB / 0.5588 GB, free: 35.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-06/0.3735, allocations: 1.531 kB / 0.5588 GB, free: 35.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.246e-05/0.3735, allocations: 32.47 kB / 0.5589 GB, free: 35.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3735, allocations: 1.344 kB / 0.5589 GB, free: 35.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 9.463e-05/0.3736, allocations: 42.91 kB / 0.5589 GB, free: 35.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.3737, allocations: 57.55 kB / 0.559 GB, free: 35.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.537e-05/0.3737, allocations: 90.58 kB / 0.5591 GB, free: 35.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.501e-06/0.3737, allocations: 30.73 kB / 0.5591 GB, free: 35.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.05e-05/0.3737, allocations: 81.58 kB / 0.5592 GB, free: 35.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.3737, allocations: 0.6562 kB / 0.5592 GB, free: 35.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.3738, allocations: 12.25 kB / 0.5592 GB, free: 35.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.853e-05/0.3738, allocations: 312.7 kB / 0.5595 GB, free: 34.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.3738, allocations: 7.703 kB / 0.5595 GB, free: 34.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-06/0.3738, allocations: 1.312 kB / 0.5595 GB, free: 34.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.835e-05/0.3739, allocations: 7.328 kB / 0.5595 GB, free: 34.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3739, allocations: 2.703 kB / 0.5595 GB, free: 34.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.747e-05/0.3739, allocations: 32.97 kB / 0.5595 GB, free: 34.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.3739, allocations: 5.656 kB / 0.5595 GB, free: 34.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.3739, allocations: 5.219 kB / 0.5595 GB, free: 34.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.3739, allocations: 3.938 kB / 0.5595 GB, free: 34.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.898e-05/0.374, allocations: 2.359 kB / 0.5595 GB, free: 34.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.374, allocations: 1.906 kB / 0.5595 GB, free: 34.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.059e-05/0.374, allocations: 1.562 kB / 0.5595 GB, free: 34.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.374, allocations: 1.062 kB / 0.5595 GB, free: 34.82 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 3.626e-05/0.3741, allocations: 112.4 kB / 0.5597 GB, free: 34.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-06/0.3741, allocations: 0.7188 kB / 0.5597 GB, free: 34.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.15e-05/0.3741, allocations: 7.672 kB / 0.5597 GB, free: 34.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3741, allocations: 2.734 kB / 0.5597 GB, free: 34.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.3741, allocations: 0 / 0.5597 GB, free: 34.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.3741, allocations: 2.469 kB / 0.5597 GB, free: 34.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.005e-05/0.3742, allocations: 143.8 kB / 0.5598 GB, free: 34.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.3742, allocations: 1.188 kB / 0.5598 GB, free: 34.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.857e-06/0.3742, allocations: 1.797 kB / 0.5598 GB, free: 34.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.3742, allocations: 0.7812 kB / 0.5598 GB, free: 34.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.3742, allocations: 5.219 kB / 0.5598 GB, free: 34.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3742, allocations: 2.047 kB / 0.5598 GB, free: 34.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3742, allocations: 0.8125 kB / 0.5598 GB, free: 34.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.575e-05/0.3743, allocations: 61.83 kB / 0.5599 GB, free: 34.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.3743, allocations: 83.09 kB / 0.56 GB, free: 34.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.785e-06/0.3743, allocations: 5.25 kB / 0.56 GB, free: 34.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-06/0.3743, allocations: 5.344 kB / 0.56 GB, free: 34.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-06/0.3743, allocations: 0.5625 kB / 0.56 GB, free: 34.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.3743, allocations: 2 kB / 0.56 GB, free: 34.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.265e-05/0.3744, allocations: 80.91 kB / 0.56 GB, free: 34.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3744, allocations: 0 / 0.56 GB, free: 34.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001799/0.3745, allocations: 1.25 kB / 0.56 GB, free: 34.25 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 6.488e-05/0.3746, allocations: 97.61 kB / 0.5601 GB, free: 34.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.655e-05/0.3747, allocations: 5.391 kB / 0.5601 GB, free: 34.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3747, allocations: 4.969 kB / 0.5601 GB, free: 34.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.869e-06/0.3747, allocations: 1.531 kB / 0.5601 GB, free: 34.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001149/0.3748, allocations: 3.219 kB / 0.5602 GB, free: 34.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001388/0.375, allocations: 81.06 kB / 0.5602 GB, free: 34.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.873e-05/0.375, allocations: 0.6727 MB / 0.5609 GB, free: 33.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.052e-05/0.3751, allocations: 2.078 kB / 0.5609 GB, free: 33.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.174e-05/0.3751, allocations: 7.438 kB / 0.5609 GB, free: 33.36 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3751, allocations: 0.5938 kB / 0.5609 GB, free: 33.36 MB / 446.1 MB Notification: Performance of Templates: time 0.001644/0.3767, allocations: 166.5 kB / 0.5611 GB, free: 33.32 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)