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 5.175/5.175, allocations: 0.5623 GB / 0.5769 GB, free: 3.344 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.002364/0.002363, allocations: 357.4 kB / 0.644 GB, free: 185.7 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.25/4.25, allocations: 410.7 MB / 1.112 GB, free: 6.012 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.001793/0.001793, allocations: 202.2 kB / 1.225 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004906/0.0004909, allocations: 16 kB / 1.348 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5827/0.5832, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001389/0.5846, allocations: 1.181 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006966/0.5853, allocations: 459.7 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.778e-05/0.5854, allocations: 0 / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.5854, allocations: 3.938 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.175e-05/0.5855, allocations: 4.922 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001246/0.5856, allocations: 27.84 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.613e-05/0.5857, allocations: 40.67 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.88e-05/0.5858, allocations: 16.42 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.325e-05/0.5859, allocations: 16.69 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.764e-05/0.5859, allocations: 19.91 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.586, allocations: 5.375 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.269e-05/0.586, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.586, allocations: 4 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.586, allocations: 39.62 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 6.08e-05/0.5861, allocations: 30.05 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.264e-06/0.5861, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.975e-06/0.5861, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.339e-06/0.5862, allocations: 0.6875 kB / 1.463 GB, free: 282.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.0004187/0.5866, allocations: 356.8 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.5866, allocations: 13.19 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.5867, allocations: 7.984 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.381e-05/0.5868, allocations: 166.9 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.5868, allocations: 4 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.5868, allocations: 8.75 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.587, allocations: 54.56 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.587, allocations: 4.531 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.587, allocations: 5.625 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.587, allocations: 3.938 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.296e-05/0.5871, allocations: 23.98 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.5876, allocations: 311.8 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.5877, allocations: 55.19 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.455e-05/0.5878, allocations: 25.98 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.5878, allocations: 5.781 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.588, allocations: 75.28 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 2.643e-06/0.588, allocations: 2.219 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0002403/0.5882, allocations: 93.58 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.5883, allocations: 63.33 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.602e-05/0.5884, allocations: 104 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.5884, allocations: 35.47 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.5884, allocations: 88.03 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.5885, allocations: 15.81 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.5885, allocations: 4 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.205e-05/0.5886, allocations: 319.6 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.683e-05/0.5886, allocations: 12 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.328e-05/0.5887, allocations: 46.16 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.936e-05/0.5888, allocations: 21 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.667e-06/0.5888, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001947/0.589, allocations: 103.2 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.589, allocations: 8 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.642e-06/0.589, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.5891, allocations: 3.953 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.668e-05/0.5891, allocations: 11.98 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.011e-06/0.5892, allocations: 5.406 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.209e-05/0.5893, allocations: 7.938 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.5893, allocations: 5.062 kB / 1.465 GB, free: 280.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 7.421e-05/0.5894, allocations: 130.3 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.5894, allocations: 7.906 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.5894, allocations: 10.03 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.5895, allocations: 7.938 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.5895, allocations: 7.953 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.5895, allocations: 5.312 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/0.5899, allocations: 361.2 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.743e-06/0.5899, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.59, allocations: 7.984 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.229e-06/0.59, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.59, allocations: 3.953 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.512e-06/0.59, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.59, allocations: 5.312 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.5902, allocations: 180 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.5902, allocations: 83.06 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.5903, allocations: 0 / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.5904, allocations: 12.8 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.5905, allocations: 12.48 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.379e-06/0.5905, allocations: 3.984 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.187e-05/0.5905, allocations: 80.38 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.467e-06/0.5905, allocations: 0 / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003158/0.5909, allocations: 20.59 kB / 1.465 GB, free: 279.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 8.742e-05/0.591, allocations: 96.5 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.5911, allocations: 55.91 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.302e-06/0.5911, allocations: 0.875 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.432e-05/0.5912, allocations: 28.12 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.5916, allocations: 11.8 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/0.592, allocations: 180.6 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.5922, allocations: 0.6887 MB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.584e-05/0.5923, allocations: 4.75 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/0.5923, allocations: 15.38 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of SimCode: time 2.245e-06/0.5924, allocations: 3.406 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.003189/0.5956, allocations: 0.6434 MB / 1.467 GB, free: 277.5 MB / 0.8542 GB