Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.238/2.238, allocations: 251.1 MB / 266.1 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001635/0.001635, allocations: 181.6 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.552/2.552, allocations: 205.4 MB / 0.5766 GB, free: 21.13 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 104.9 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008415/0.000842, allocations: 11.69 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3051, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001743/0.3069, allocations: 1.18 MB / 0.9 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008734/0.3078, allocations: 473.9 kB / 0.9005 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.827e-05/0.3079, allocations: 0 / 0.9005 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.3079, allocations: 0 / 0.9005 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.341e-05/0.3081, allocations: 3.984 kB / 0.9005 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.3082, allocations: 27.84 kB / 0.9005 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.661e-05/0.3083, allocations: 27.97 kB / 0.9005 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3084, allocations: 8 kB / 0.9005 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.419e-05/0.3085, allocations: 27.91 kB / 0.9006 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.571e-05/0.3086, allocations: 11.92 kB / 0.9006 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.3086, allocations: 4 kB / 0.9006 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.3086, allocations: 0 / 0.9006 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.3087, allocations: 11.98 kB / 0.9006 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.3087, allocations: 37.64 kB / 0.9006 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.02e-05/0.3088, allocations: 23.95 kB / 0.9006 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.3088, allocations: 0 / 0.9006 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3088, allocations: 0 / 0.9006 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.3088, allocations: 0 / 0.9006 GB, free: 64.11 MB / 0.6042 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.0004981/0.3093, allocations: 363.2 kB / 0.901 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3094, allocations: 8.031 kB / 0.901 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.3094, allocations: 11.86 kB / 0.901 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.3095, allocations: 163.1 kB / 0.9012 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.3096, allocations: 4 kB / 0.9012 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.3096, allocations: 8 kB / 0.9012 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.3097, allocations: 61.55 kB / 0.9012 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.3098, allocations: 4 kB / 0.9012 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3098, allocations: 3.984 kB / 0.9012 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3098, allocations: 4 kB / 0.9012 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.315e-05/0.3099, allocations: 19.98 kB / 0.9013 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.3105, allocations: 320.6 kB / 0.9016 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.3107, allocations: 54.56 kB / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.3107, allocations: 4.031 kB / 0.9016 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.311, allocations: 75.59 kB / 0.9017 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 3.407e-06/0.311, allocations: 0 / 0.9017 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002925/0.3113, allocations: 97.48 kB / 0.9018 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.3114, allocations: 63.39 kB / 0.9019 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.02e-05/0.3114, allocations: 101.9 kB / 0.902 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.3115, allocations: 29.7 kB / 0.902 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.3115, allocations: 84.12 kB / 0.9021 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.3116, allocations: 19.72 kB / 0.9021 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-06/0.3116, allocations: 7.938 kB / 0.9021 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.242e-05/0.3116, allocations: 318.8 kB / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.086e-05/0.3117, allocations: 16 kB / 0.9024 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.804e-05/0.3118, allocations: 43.42 kB / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.193e-05/0.3119, allocations: 20 kB / 0.9025 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3119, allocations: 0 / 0.9025 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001902/0.3121, allocations: 101.5 kB / 0.9026 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3121, allocations: 10.03 kB / 0.9026 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3121, allocations: 0 / 0.9026 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3121, allocations: 3.953 kB / 0.9026 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3123, allocations: 11.98 kB / 0.9026 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3123, allocations: 8.406 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.3124, allocations: 4 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.3124, allocations: 8 kB / 0.9026 GB, free: 61.87 MB / 0.6042 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 8.478e-05/0.3125, allocations: 127.7 kB / 0.9027 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.3125, allocations: 7.938 kB / 0.9027 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.3126, allocations: 7.969 kB / 0.9027 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3126, allocations: 8.234 kB / 0.9028 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3126, allocations: 4 kB / 0.9028 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3126, allocations: 0 / 0.9028 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.3131, allocations: 362.4 kB / 0.9031 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3131, allocations: 0 / 0.9031 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.3132, allocations: 4 kB / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.3132, allocations: 7.938 kB / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3132, allocations: 0 / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3132, allocations: 4 kB / 0.9031 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3133, allocations: 4 kB / 0.9031 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.3134, allocations: 175.4 kB / 0.9033 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.706e-05/0.3135, allocations: 85.09 kB / 0.9034 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.3135, allocations: 3.953 kB / 0.9034 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.3136, allocations: 16 kB / 0.9034 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.3137, allocations: 11.92 kB / 0.9034 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.3137, allocations: 11.98 kB / 0.9034 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.555e-05/0.3138, allocations: 83.28 kB / 0.9035 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.7e-07/0.3138, allocations: 0 / 0.9035 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003224/0.3141, allocations: 12 kB / 0.9035 GB, free: 60.85 MB / 0.6042 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 9.933e-05/0.3142, allocations: 99.25 kB / 0.9036 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001965/0.3144, allocations: 51.91 kB / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3145, allocations: 0 / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.64e-05/0.3145, allocations: 36.12 kB / 0.9037 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.3148, allocations: 7.984 kB / 0.9037 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004998/0.3153, allocations: 176.6 kB / 0.9039 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.3155, allocations: 0.6926 MB / 0.9045 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.879e-05/0.3155, allocations: 4 kB / 0.9045 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.3156, allocations: 11.44 kB / 0.9045 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of SimCode: time 6.51e-07/0.3156, allocations: 0 / 0.9045 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of Templates: time 0.003409/0.319, allocations: 0.6539 MB / 0.9052 GB, free: 59.07 MB / 0.6042 GB