Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.721/4.721, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002446/0.002446, allocations: 357.5 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.141/4.141, allocations: 410.7 MB / 1.113 GB, free: 6.035 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001801/0.001801, allocations: 179.1 kB / 1.226 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.000497, allocations: 16 kB / 1.349 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7058/0.7064, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.9039, allocations: 138.5 MB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.9041, allocations: 78.7 kB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.003887/0.9081, allocations: 1.105 MB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9081, allocations: 0 / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.9081, allocations: 0 / 1.598 GB, free: 144.5 MB / 0.8542 GB 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.0004285/0.9085, allocations: 353.5 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.9086, allocations: 11.62 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.9086, allocations: 10.38 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.9087, allocations: 178.8 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.9088, allocations: 0 / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.9088, allocations: 4 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.9089, allocations: 61.67 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.909, allocations: 1.188 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.909, allocations: 0 / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.909, allocations: 4 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.369e-05/0.9091, allocations: 27.92 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.9097, allocations: 307.7 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.9098, allocations: 61.38 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.146e-05/0.9099, allocations: 16.92 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.9099, allocations: 4 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.9101, allocations: 76.06 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 2.705e-06/0.9102, allocations: 1.5 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.000294/0.9105, allocations: 105.5 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.9105, allocations: 55.41 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.763e-05/0.9106, allocations: 111 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.9106, allocations: 25.7 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.9107, allocations: 92.55 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.9107, allocations: 21.19 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.9108, allocations: 4 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.613e-05/0.9108, allocations: 318.8 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5e-05/0.9109, allocations: 12.75 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.355e-05/0.911, allocations: 45.58 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.392e-05/0.9111, allocations: 24.61 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.9111, allocations: 1.594 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001867/0.9113, allocations: 89.53 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.9113, allocations: 8 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.9113, allocations: 0 / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.9113, allocations: 5.984 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.9115, allocations: 17.55 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.9115, allocations: 3.953 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.9116, allocations: 15.94 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.9116, allocations: 4.672 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB 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 9.308e-05/0.9117, allocations: 118.8 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.9118, allocations: 3.906 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.753e-05/0.9118, allocations: 12.88 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.9118, allocations: 4 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.9119, allocations: 1.312 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.9119, allocations: 3.953 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005578/0.9124, allocations: 362.1 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.9125, allocations: 0 / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.417e-05/0.9125, allocations: 11.98 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.9125, allocations: 0 / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.9125, allocations: 1.594 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.9126, allocations: 8.016 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.9126, allocations: 4 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.9128, allocations: 185 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.905e-05/0.9128, allocations: 77.11 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.9128, allocations: 4.812 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.913, allocations: 12.86 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.9131, allocations: 11.94 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.9131, allocations: 5.125 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.663e-05/0.9131, allocations: 79.28 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.9e-07/0.9131, allocations: 0 / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003057/0.9135, allocations: 16.66 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB 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.0001185/0.9136, allocations: 100.1 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001852/0.9138, allocations: 56.62 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.9138, allocations: 0.625 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.546e-05/0.9139, allocations: 21.94 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.9143, allocations: 12.64 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.9148, allocations: 183.1 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.915, allocations: 0.6937 MB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.535e-05/0.9151, allocations: 4 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.9151, allocations: 11.44 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.233e-06/0.9151, allocations: 3.938 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.00374/0.9189, allocations: 0.6564 MB / 1.602 GB, free: 139.5 MB / 0.8542 GB