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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001156, allocations: 186.6 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4645/0.4645, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 222.9 MB / 349.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 104.7 kB / 420 MB, free: 8.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 51.86 kB / 0.4891 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3743, allocations: 70.06 MB / 0.5575 GB, free: 44.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.001866/0.3763, allocations: 0.6436 MB / 0.5581 GB, free: 44.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.94e-05/0.3763, allocations: 0.9688 kB / 0.5581 GB, free: 44.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.901e-05/0.3763, allocations: 0 / 0.5581 GB, free: 44.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.565e-05/0.3764, allocations: 0 / 0.5581 GB, free: 44.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.969e-06/0.3764, allocations: 1.031 kB / 0.5581 GB, free: 44.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.759e-05/0.3765, allocations: 4 kB / 0.5581 GB, free: 44.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.901e-05/0.3765, allocations: 9.016 kB / 0.5581 GB, free: 44.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.846e-05/0.3766, allocations: 1.094 kB / 0.5581 GB, free: 44.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.459e-05/0.3766, allocations: 9.031 kB / 0.5581 GB, free: 44.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.859e-05/0.3766, allocations: 0 / 0.5581 GB, free: 44.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.3766, allocations: 0 / 0.5581 GB, free: 44.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.729e-06/0.3766, allocations: 0.9688 kB / 0.5581 GB, free: 44.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.3767, allocations: 0 / 0.5581 GB, free: 44.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.3767, allocations: 1.062 kB / 0.5581 GB, free: 44.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.175e-05/0.3767, allocations: 0 / 0.5581 GB, free: 44.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3768, allocations: 5.016 kB / 0.5581 GB, free: 44.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3768, allocations: 0 / 0.5581 GB, free: 44.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.3768, allocations: 7.938 kB / 0.5581 GB, free: 44.16 MB / 410.7 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.000278/0.377, allocations: 310.8 kB / 0.5584 GB, free: 43.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3771, allocations: 9.375 kB / 0.5585 GB, free: 43.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/0.3771, allocations: 1.875 kB / 0.5585 GB, free: 43.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.799e-05/0.3772, allocations: 160.4 kB / 0.5586 GB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.3772, allocations: 1.344 kB / 0.5586 GB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.3772, allocations: 4.375 kB / 0.5586 GB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.46e-05/0.3773, allocations: 32.28 kB / 0.5586 GB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3773, allocations: 4.188 kB / 0.5586 GB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.3774, allocations: 4.969 kB / 0.5587 GB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3774, allocations: 0 / 0.5587 GB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.618e-05/0.3774, allocations: 1.062 kB / 0.5587 GB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000104/0.3775, allocations: 146.7 kB / 0.5588 GB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.27e-05/0.3775, allocations: 20.61 kB / 0.5588 GB, free: 43.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.3776, allocations: 7.984 kB / 0.5588 GB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.3776, allocations: 4 kB / 0.5588 GB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.3776, allocations: 39.61 kB / 0.5589 GB, free: 43.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.342e-06/0.3776, allocations: 3.984 kB / 0.5589 GB, free: 43.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001236/0.3778, allocations: 42.83 kB / 0.5589 GB, free: 43.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.3778, allocations: 51.41 kB / 0.559 GB, free: 43.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.198e-05/0.3778, allocations: 89.86 kB / 0.559 GB, free: 43.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.3778, allocations: 27.17 kB / 0.5591 GB, free: 43.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.677e-05/0.3778, allocations: 80.14 kB / 0.5591 GB, free: 42.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.3779, allocations: 8.031 kB / 0.5592 GB, free: 42.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/0.3779, allocations: 11.91 kB / 0.5592 GB, free: 42.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.867e-05/0.378, allocations: 311.9 kB / 0.5595 GB, free: 42.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-06/0.378, allocations: 0 / 0.5595 GB, free: 42.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.842e-06/0.378, allocations: 10.2 kB / 0.5595 GB, free: 42.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.515e-05/0.378, allocations: 7.172 kB / 0.5595 GB, free: 42.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.378, allocations: 0 / 0.5595 GB, free: 42.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.595e-05/0.3781, allocations: 39.33 kB / 0.5595 GB, free: 42.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3781, allocations: 6.469 kB / 0.5595 GB, free: 42.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3781, allocations: 0 / 0.5595 GB, free: 42.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3781, allocations: 9.031 kB / 0.5595 GB, free: 42.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.644e-05/0.3782, allocations: 1.094 kB / 0.5595 GB, free: 42.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3782, allocations: 1.125 kB / 0.5595 GB, free: 42.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.3782, allocations: 0 / 0.5595 GB, free: 42.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.3782, allocations: 1.094 kB / 0.5595 GB, free: 42.57 MB / 410.7 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 5.819e-05/0.3783, allocations: 107 kB / 0.5596 GB, free: 42.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-06/0.3783, allocations: 12.02 kB / 0.5596 GB, free: 42.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.831e-05/0.3783, allocations: 8.156 kB / 0.5597 GB, free: 42.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.3783, allocations: 0 / 0.5597 GB, free: 42.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3784, allocations: 1.219 kB / 0.5597 GB, free: 42.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3784, allocations: 0 / 0.5597 GB, free: 42.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.296e-05/0.3784, allocations: 142.8 kB / 0.5598 GB, free: 42.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3784, allocations: 0 / 0.5598 GB, free: 42.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.046e-05/0.3784, allocations: 2.188 kB / 0.5598 GB, free: 42.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3784, allocations: 3.984 kB / 0.5598 GB, free: 42.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.3785, allocations: 3.938 kB / 0.5598 GB, free: 42.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.3785, allocations: 1.125 kB / 0.5598 GB, free: 42.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3785, allocations: 4 kB / 0.5598 GB, free: 42.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.3787, allocations: 0.6009 MB / 0.5604 GB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.3787, allocations: 82.36 kB / 0.5605 GB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.3787, allocations: 4 kB / 0.5605 GB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.684e-06/0.3787, allocations: 5.469 kB / 0.5605 GB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.3787, allocations: 4.031 kB / 0.5605 GB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.3787, allocations: 1.188 kB / 0.5605 GB, free: 41.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.057e-05/0.3788, allocations: 75.28 kB / 0.5606 GB, free: 41.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.082e-06/0.3788, allocations: 0 / 0.5606 GB, free: 41.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003375/0.3791, allocations: 5.375 kB / 0.5606 GB, free: 41.41 MB / 410.7 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.803e-05/0.3792, allocations: 98.06 kB / 0.5607 GB, free: 41.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.803e-05/0.3793, allocations: 3.625 kB / 0.5607 GB, free: 41.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3793, allocations: 64 / 0.5607 GB, free: 41.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.731e-06/0.3793, allocations: 6.781 kB / 0.5607 GB, free: 41.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.3794, allocations: 5.375 kB / 0.5607 GB, free: 41.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.3797, allocations: 170.9 kB / 0.5608 GB, free: 41.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.3798, allocations: 0.678 MB / 0.5615 GB, free: 40.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.357e-05/0.3798, allocations: 1.031 kB / 0.5615 GB, free: 40.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.258e-05/0.3799, allocations: 7.438 kB / 0.5615 GB, free: 40.39 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3799, allocations: 0 / 0.5615 GB, free: 40.39 MB / 410.7 MB Notification: Performance of Templates: time 0.001665/0.3815, allocations: 162.7 kB / 0.5617 GB, free: 40.3 MB / 410.7 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)