Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.Continuous.Examples.OffTimer.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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002508/0.002507, allocations: 354.5 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.426/1.426, allocations: 165.8 MB / 183.1 MB, free: 5.422 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.788/3.788, allocations: 410.8 MB / 0.6001 GB, free: 15.23 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.001787/0.001787, allocations: 194.6 kB / 0.6668 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004669, allocations: 15.98 kB / 0.7429 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4176, allocations: 67.44 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.5804, allocations: 98.99 MB / 0.9054 GB, free: 9.668 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.5807, allocations: 75.97 kB / 0.9055 GB, free: 9.594 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004475/0.5852, allocations: 1.104 MB / 0.9065 GB, free: 8.488 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5853, allocations: 0 / 0.9065 GB, free: 8.488 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.507e-06/0.5853, allocations: 0 / 0.9065 GB, free: 8.488 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005482/0.5859, allocations: 363.2 kB / 0.9069 GB, free: 8.086 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.5859, allocations: 8.031 kB / 0.9069 GB, free: 8.078 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.586, allocations: 7.906 kB / 0.9069 GB, free: 8.07 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.5861, allocations: 163 kB / 0.9071 GB, free: 7.871 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.5861, allocations: 15.97 kB / 0.9071 GB, free: 7.855 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.5862, allocations: 4 kB / 0.9071 GB, free: 7.852 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.5863, allocations: 49.69 kB / 0.9071 GB, free: 7.797 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.5864, allocations: 3.938 kB / 0.9071 GB, free: 7.793 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.5864, allocations: 7.953 kB / 0.9071 GB, free: 7.785 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.5864, allocations: 4 kB / 0.9071 GB, free: 7.781 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.535e-05/0.5865, allocations: 23.98 kB / 0.9072 GB, free: 7.758 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000612/0.5871, allocations: 296.9 kB / 0.9074 GB, free: 7.418 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.5873, allocations: 65.55 kB / 0.9075 GB, free: 7.348 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.5874, allocations: 32.88 kB / 0.9075 GB, free: 7.312 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.5874, allocations: 0 / 0.9075 GB, free: 7.312 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.5876, allocations: 71.3 kB / 0.9076 GB, free: 7.23 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.5876, allocations: 3.938 kB / 0.9076 GB, free: 7.227 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002994/0.5879, allocations: 97.61 kB / 0.9077 GB, free: 7.125 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.588, allocations: 63.34 kB / 0.9078 GB, free: 7.051 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.769e-05/0.5881, allocations: 101.8 kB / 0.9079 GB, free: 6.941 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.5882, allocations: 33.7 kB / 0.9079 GB, free: 6.902 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.5882, allocations: 88.03 kB / 0.908 GB, free: 6.812 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.5883, allocations: 19.8 kB / 0.908 GB, free: 6.793 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.5883, allocations: 4 kB / 0.908 GB, free: 6.789 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5884, allocations: 314.8 kB / 0.9083 GB, free: 6.473 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.765e-05/0.5885, allocations: 19.98 kB / 0.9083 GB, free: 6.453 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.783e-05/0.5886, allocations: 43.42 kB / 0.9084 GB, free: 6.398 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.841e-05/0.5886, allocations: 20 kB / 0.9084 GB, free: 6.379 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5886, allocations: 0 / 0.9084 GB, free: 6.379 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002131/0.5889, allocations: 105.4 kB / 0.9085 GB, free: 6.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.5889, allocations: 4 kB / 0.9085 GB, free: 6.266 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.5889, allocations: 4 kB / 0.9085 GB, free: 6.262 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.5889, allocations: 0 / 0.9085 GB, free: 6.262 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.5891, allocations: 8 kB / 0.9085 GB, free: 6.254 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.5891, allocations: 8.031 kB / 0.9085 GB, free: 6.246 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.5892, allocations: 11.92 kB / 0.9085 GB, free: 6.234 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.5892, allocations: 12.06 kB / 0.9085 GB, free: 6.223 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 0.0001056/0.5893, allocations: 118.9 kB / 0.9086 GB, free: 6.098 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.5894, allocations: 15.84 kB / 0.9087 GB, free: 6.082 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.5894, allocations: 7.969 kB / 0.9087 GB, free: 6.078 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5894, allocations: 0 / 0.9087 GB, free: 6.078 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.5895, allocations: 8 kB / 0.9087 GB, free: 6.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.5895, allocations: 3.984 kB / 0.9087 GB, free: 6.066 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006024/0.5901, allocations: 362.8 kB / 0.909 GB, free: 5.656 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5901, allocations: 0 / 0.909 GB, free: 5.656 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.211e-05/0.5902, allocations: 4 kB / 0.909 GB, free: 5.652 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.5902, allocations: 0 / 0.909 GB, free: 5.652 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.5902, allocations: 96 / 0.909 GB, free: 5.652 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.5902, allocations: 7.938 kB / 0.909 GB, free: 5.645 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5902, allocations: 0 / 0.909 GB, free: 5.645 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.5905, allocations: 187.3 kB / 0.9092 GB, free: 5.445 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.5905, allocations: 85.02 kB / 0.9093 GB, free: 5.344 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.5906, allocations: 0 / 0.9093 GB, free: 5.344 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.5907, allocations: 11.98 kB / 0.9093 GB, free: 5.332 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.5908, allocations: 7.984 kB / 0.9093 GB, free: 5.324 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.5908, allocations: 8 kB / 0.9093 GB, free: 5.316 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.486e-05/0.5908, allocations: 83.28 kB / 0.9094 GB, free: 5.234 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5909, allocations: 3.938 kB / 0.9094 GB, free: 5.23 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002951/0.5912, allocations: 12 kB / 0.9094 GB, free: 5.219 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001206/0.5913, allocations: 99.23 kB / 0.9095 GB, free: 5.109 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.5915, allocations: 47.92 kB / 0.9096 GB, free: 5.062 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5915, allocations: 0 / 0.9096 GB, free: 5.062 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.809e-05/0.5916, allocations: 35.92 kB / 0.9096 GB, free: 5.027 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.592, allocations: 16.23 kB / 0.9096 GB, free: 5.016 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00058/0.5926, allocations: 172.7 kB / 0.9098 GB, free: 4.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.5929, allocations: 0.6887 MB / 0.9104 GB, free: 4.105 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.302e-05/0.5929, allocations: 7.984 kB / 0.9104 GB, free: 4.098 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.593, allocations: 11.44 kB / 0.9105 GB, free: 4.086 MB / 458.7 MB Notification: Performance of SimCode: time 4.038e-06/0.593, allocations: 0 / 0.9105 GB, free: 4.086 MB / 458.7 MB Notification: Performance of Templates: time 0.003783/0.5968, allocations: 0.6637 MB / 0.9111 GB, free: 3.426 MB / 458.7 MB