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.001078/0.001078, allocations: 107.7 kB / 15.99 MB, free: 6.355 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.001044/0.001044, allocations: 191.3 kB / 16.91 MB, free: 6.195 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.332/1.332, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7551/0.7551, allocations: 122.9 MB / 413.6 MB, free: 28 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 59.91 kB / 0.4906 GB, free: 7.832 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3718, allocations: 77.91 MB / 0.5667 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.001622/0.3735, allocations: 0.6537 MB / 0.5673 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 3.145e-05/0.3736, allocations: 5.688 kB / 0.5673 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.379e-05/0.3736, allocations: 0 / 0.5673 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.3736, allocations: 0 / 0.5673 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.699e-06/0.3736, allocations: 0.6562 kB / 0.5673 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.18e-05/0.3737, allocations: 1.125 kB / 0.5673 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.993e-05/0.3737, allocations: 2.594 kB / 0.5673 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.3738, allocations: 5.844 kB / 0.5673 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.272e-05/0.3738, allocations: 0.5156 kB / 0.5673 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.359e-05/0.3738, allocations: 1.312 kB / 0.5673 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.594e-06/0.3738, allocations: 1 kB / 0.5673 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.865e-06/0.3738, allocations: 0 / 0.5673 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.3738, allocations: 1.125 kB / 0.5673 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.662e-05/0.3738, allocations: 1.125 kB / 0.5673 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.052e-05/0.3739, allocations: 6.406 kB / 0.5673 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3739, allocations: 4 kB / 0.5673 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3739, allocations: 0.8125 kB / 0.5673 GB, free: 32.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.3739, allocations: 0 / 0.5673 GB, free: 32.2 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.0001726/0.3741, allocations: 309.3 kB / 0.5676 GB, free: 31.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.3741, allocations: 12.09 kB / 0.5676 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.44e-05/0.3742, allocations: 1.547 kB / 0.5676 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.579e-05/0.3742, allocations: 166 kB / 0.5678 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.3742, allocations: 1.172 kB / 0.5678 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-06/0.3742, allocations: 2.25 kB / 0.5678 GB, free: 31.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.281e-05/0.3743, allocations: 28.52 kB / 0.5678 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.3743, allocations: 1.031 kB / 0.5678 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.3743, allocations: 5.031 kB / 0.5678 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3743, allocations: 0.8125 kB / 0.5678 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.448e-05/0.3744, allocations: 4.875 kB / 0.5678 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.889e-05/0.3744, allocations: 149.8 kB / 0.568 GB, free: 31.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.648e-05/0.3745, allocations: 17.64 kB / 0.568 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.3745, allocations: 8.781 kB / 0.568 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.3745, allocations: 1.453 kB / 0.568 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.3745, allocations: 37.09 kB / 0.5681 GB, free: 31.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3745, allocations: 0 / 0.5681 GB, free: 31.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 9.156e-05/0.3746, allocations: 40.33 kB / 0.5681 GB, free: 31.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.3747, allocations: 56.5 kB / 0.5681 GB, free: 31.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.213e-05/0.3747, allocations: 91.3 kB / 0.5682 GB, free: 31.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.049e-06/0.3747, allocations: 26.86 kB / 0.5683 GB, free: 31.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.997e-06/0.3747, allocations: 80.14 kB / 0.5683 GB, free: 31.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.3747, allocations: 6.156 kB / 0.5683 GB, free: 31.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/0.3747, allocations: 12.72 kB / 0.5684 GB, free: 31.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.536e-05/0.3748, allocations: 316.5 kB / 0.5687 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-06/0.3748, allocations: 1.781 kB / 0.5687 GB, free: 30.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.169e-06/0.3748, allocations: 1.656 kB / 0.5687 GB, free: 30.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.982e-05/0.3748, allocations: 9.031 kB / 0.5687 GB, free: 30.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3748, allocations: 0 / 0.5687 GB, free: 30.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.775e-05/0.3749, allocations: 40.97 kB / 0.5687 GB, free: 30.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.3749, allocations: 5.312 kB / 0.5687 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.3749, allocations: 1 kB / 0.5687 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.3749, allocations: 4.547 kB / 0.5687 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.284e-05/0.375, allocations: 3.281 kB / 0.5687 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.375, allocations: 4.797 kB / 0.5687 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.907e-06/0.375, allocations: 1.219 kB / 0.5687 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.375, allocations: 0.5 kB / 0.5687 GB, free: 30.64 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.358e-05/0.375, allocations: 112.8 kB / 0.5688 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-06/0.375, allocations: 1.219 kB / 0.5688 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.108e-05/0.3751, allocations: 8.344 kB / 0.5688 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3751, allocations: 2.484 kB / 0.5688 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.3751, allocations: 0 / 0.5688 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3751, allocations: 5.234 kB / 0.5688 GB, free: 30.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.796e-05/0.3751, allocations: 144.8 kB / 0.569 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3751, allocations: 1.156 kB / 0.569 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.278e-06/0.3751, allocations: 2.203 kB / 0.569 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.3752, allocations: 1.781 kB / 0.569 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.3752, allocations: 5.125 kB / 0.569 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.3752, allocations: 0 / 0.569 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3752, allocations: 0.9688 kB / 0.569 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.208e-05/0.3752, allocations: 62.14 kB / 0.5691 GB, free: 30.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.269e-05/0.3752, allocations: 80.61 kB / 0.5691 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-06/0.3752, allocations: 3.938 kB / 0.5691 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-06/0.3753, allocations: 1.578 kB / 0.5691 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-06/0.3753, allocations: 0.6562 kB / 0.5691 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-06/0.3753, allocations: 3.188 kB / 0.5691 GB, free: 30.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.728e-06/0.3753, allocations: 75.28 kB / 0.5692 GB, free: 30.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3753, allocations: 0 / 0.5692 GB, free: 30.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001715/0.3755, allocations: 1.031 kB / 0.5692 GB, free: 30.08 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 5.556e-05/0.3755, allocations: 97.3 kB / 0.5693 GB, free: 29.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.732e-05/0.3756, allocations: 16.31 kB / 0.5693 GB, free: 29.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3756, allocations: 1 kB / 0.5693 GB, free: 29.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.75e-06/0.3756, allocations: 3.219 kB / 0.5693 GB, free: 29.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.3757, allocations: 1.031 kB / 0.5693 GB, free: 29.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000129/0.3759, allocations: 68.92 kB / 0.5694 GB, free: 29.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.788e-05/0.376, allocations: 0.6752 MB / 0.5701 GB, free: 29.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.488e-06/0.376, allocations: 2.281 kB / 0.5701 GB, free: 29.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.959e-06/0.376, allocations: 8.406 kB / 0.5701 GB, free: 29.19 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.376, allocations: 0 / 0.5701 GB, free: 29.19 MB / 446.1 MB Notification: Performance of Templates: time 0.001454/0.3774, allocations: 169.9 kB / 0.5702 GB, free: 29.14 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)