Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Time.Examples.ModelTime.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002554/0.002558, allocations: 354.8 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.462/1.462, allocations: 165.8 MB / 183.1 MB, free: 5.43 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.753/3.753, allocations: 410.8 MB / 0.6001 GB, free: 15.06 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001841/0.00184, allocations: 181 kB / 0.6668 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004875/0.0004879, allocations: 23.94 kB / 0.7429 GB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4081, allocations: 67.43 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.5717, allocations: 97.55 MB / 0.904 GB, free: 11.1 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.572, allocations: 75.95 kB / 0.9041 GB, free: 11.03 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0005804/0.5726, allocations: 372.8 kB / 0.9044 GB, free: 10.66 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5726, allocations: 0 / 0.9044 GB, free: 10.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.5727, allocations: 0 / 0.9044 GB, free: 10.66 MB / 458.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.0002967/0.573, allocations: 303.4 kB / 0.9047 GB, free: 10.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.573, allocations: 20.08 kB / 0.9047 GB, free: 10.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.5731, allocations: 0 / 0.9047 GB, free: 10.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.5732, allocations: 159.1 kB / 0.9049 GB, free: 10.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.5732, allocations: 0 / 0.9049 GB, free: 10.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.5732, allocations: 3.984 kB / 0.9049 GB, free: 10.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.5734, allocations: 33.7 kB / 0.9049 GB, free: 10.06 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.5734, allocations: 0 / 0.9049 GB, free: 10.06 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.5734, allocations: 3.953 kB / 0.9049 GB, free: 10.05 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5734, allocations: 0 / 0.9049 GB, free: 10.05 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.396e-05/0.5735, allocations: 7.938 kB / 0.9049 GB, free: 10.05 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.5736, allocations: 149.7 kB / 0.9051 GB, free: 9.852 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.311e-05/0.5737, allocations: 18.61 kB / 0.9051 GB, free: 9.824 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.5737, allocations: 12.92 kB / 0.9051 GB, free: 9.809 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.5738, allocations: 0 / 0.9051 GB, free: 9.809 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.5738, allocations: 30.56 kB / 0.9051 GB, free: 9.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 3.496e-06/0.5738, allocations: 4 kB / 0.9051 GB, free: 9.766 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001191/0.5739, allocations: 33.64 kB / 0.9052 GB, free: 9.727 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.574, allocations: 55.36 kB / 0.9052 GB, free: 9.66 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.137e-05/0.5741, allocations: 89.86 kB / 0.9053 GB, free: 9.562 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.5741, allocations: 25.7 kB / 0.9053 GB, free: 9.531 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.5741, allocations: 84.12 kB / 0.9054 GB, free: 9.445 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.5742, allocations: 11.91 kB / 0.9054 GB, free: 9.434 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-06/0.5742, allocations: 0 / 0.9054 GB, free: 9.434 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.5744, allocations: 311 kB / 0.9057 GB, free: 9.121 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.217e-06/0.5744, allocations: 11.77 kB / 0.9057 GB, free: 9.113 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-06/0.5744, allocations: 0 / 0.9057 GB, free: 9.113 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.144e-05/0.5744, allocations: 4 kB / 0.9057 GB, free: 9.109 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5744, allocations: 0 / 0.9057 GB, free: 9.109 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.354e-05/0.5745, allocations: 33.64 kB / 0.9058 GB, free: 9.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.5745, allocations: 6.656 kB / 0.9058 GB, free: 9.066 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5745, allocations: 0 / 0.9058 GB, free: 9.066 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.5746, allocations: 4 kB / 0.9058 GB, free: 9.062 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.753e-05/0.5746, allocations: 0 / 0.9058 GB, free: 9.062 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.5747, allocations: 8.078 kB / 0.9058 GB, free: 9.055 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.446e-05/0.5747, allocations: 3.953 kB / 0.9058 GB, free: 9.051 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.5747, allocations: 0 / 0.9058 GB, free: 9.051 MB / 458.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.156e-05/0.5748, allocations: 116.8 kB / 0.9059 GB, free: 8.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.5748, allocations: 0 / 0.9059 GB, free: 8.93 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.712e-05/0.5748, allocations: 3.125 kB / 0.9059 GB, free: 8.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5749, allocations: 0 / 0.9059 GB, free: 8.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5749, allocations: 0 / 0.9059 GB, free: 8.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5749, allocations: 0 / 0.9059 GB, free: 8.93 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.575, allocations: 155.7 kB / 0.906 GB, free: 8.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.575, allocations: 8 kB / 0.9061 GB, free: 8.723 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.402e-05/0.5751, allocations: 0 / 0.9061 GB, free: 8.723 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.5751, allocations: 0 / 0.9061 GB, free: 8.723 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.5751, allocations: 0 / 0.9061 GB, free: 8.723 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.5751, allocations: 0 / 0.9061 GB, free: 8.723 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5751, allocations: 0 / 0.9061 GB, free: 8.723 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.012e-05/0.5752, allocations: 65.03 kB / 0.9061 GB, free: 8.641 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.002e-05/0.5753, allocations: 85.12 kB / 0.9062 GB, free: 8.539 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.5753, allocations: 0 / 0.9062 GB, free: 8.539 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-06/0.5753, allocations: 0 / 0.9062 GB, free: 8.539 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.5753, allocations: 0 / 0.9062 GB, free: 8.539 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.5753, allocations: 4 kB / 0.9062 GB, free: 8.535 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.553e-05/0.5754, allocations: 75.28 kB / 0.9063 GB, free: 8.461 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5754, allocations: 0 / 0.9063 GB, free: 8.461 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002048/0.5756, allocations: 0 / 0.9063 GB, free: 8.461 MB / 458.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001174/0.5757, allocations: 95.25 kB / 0.9064 GB, free: 8.359 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 6.928e-05/0.5758, allocations: 11.94 kB / 0.9064 GB, free: 8.348 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5758, allocations: 0 / 0.9064 GB, free: 8.348 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.155e-05/0.5758, allocations: 4 kB / 0.9064 GB, free: 8.344 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.576, allocations: 7.891 kB / 0.9064 GB, free: 8.336 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001906/0.5762, allocations: 70.75 kB / 0.9065 GB, free: 8.238 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.5765, allocations: 0.6731 MB / 0.9071 GB, free: 7.539 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.418e-05/0.5766, allocations: 3.938 kB / 0.9071 GB, free: 7.535 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/0.5766, allocations: 11.56 kB / 0.9071 GB, free: 7.523 MB / 458.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5766, allocations: 0 / 0.9071 GB, free: 7.523 MB / 458.7 MB Notification: Performance of Templates: time 0.002196/0.5788, allocations: 152.6 kB / 0.9073 GB, free: 7.375 MB / 458.7 MB