Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.014/5.014, allocations: 0.5623 GB / 0.5776 GB, free: 3.383 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.002498/0.002498, allocations: 358.4 kB / 0.6447 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.32/4.32, allocations: 410.7 MB / 1.113 GB, free: 6.016 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.001869/0.001869, allocations: 177.9 kB / 1.226 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005534/0.0005538, allocations: 12 kB / 1.349 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8511/0.8517, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005144/0.8569, allocations: 3.538 MB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003162/0.8601, allocations: 1.249 MB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006919/0.8609, allocations: 23.88 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.8611, allocations: 55.42 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008962/0.862, allocations: 194.8 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.8632, allocations: 305.1 kB / 1.467 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001366/0.8645, allocations: 0.8422 MB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006538/0.8652, allocations: 302.7 kB / 1.468 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003925/0.8656, allocations: 222.8 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.866, allocations: 239.9 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.033e-05/0.8661, allocations: 24 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.959e-05/0.8662, allocations: 24.66 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.967e-05/0.8663, allocations: 99.47 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.8665, allocations: 150.6 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009079/0.8674, allocations: 0.8084 MB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.8674, allocations: 0 / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8674, allocations: 0 / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.789e-05/0.8675, allocations: 1.469 kB / 1.469 GB, free: 276.3 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002552/0.87, allocations: 0.9598 MB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.8701, allocations: 11.62 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.8703, allocations: 80.59 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.8715, allocations: 0.5445 MB / 1.471 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.457e-05/0.8716, allocations: 42.19 kB / 1.471 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.8717, allocations: 60 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.8733, allocations: 0.6092 MB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/0.8734, allocations: 4 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.164e-05/0.8735, allocations: 20 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.8735, allocations: 19.94 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.8751, allocations: 467 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004198/0.8793, allocations: 2.019 MB / 1.474 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.8808, allocations: 454.6 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007691/0.8817, allocations: 251.8 kB / 1.475 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.058e-05/0.8817, allocations: 8.422 kB / 1.475 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008724/0.8826, allocations: 269 kB / 1.475 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=49): time 5.36e-06/0.8827, allocations: 1.781 kB / 1.475 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=49): time 0.002145/0.8848, allocations: 0.5952 MB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.8849, allocations: 56.84 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006459/0.8856, allocations: 449.3 kB / 1.476 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.849e-05/0.8857, allocations: 33.7 kB / 1.476 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.8859, allocations: 321 kB / 1.476 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.8861, allocations: 165.6 kB / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.8861, allocations: 12 kB / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.8862, allocations: 362.8 kB / 1.477 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000642/0.8869, allocations: 171.2 kB / 1.477 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006552/0.8876, allocations: 252.7 kB / 1.477 GB, free: 267.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006951/0.8883, allocations: 226.8 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.8883, allocations: 2.406 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001663/0.89, allocations: 0.5659 MB / 1.478 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/0.8901, allocations: 37.69 kB / 1.478 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.8901, allocations: 7.953 kB / 1.478 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.8901, allocations: 4 kB / 1.478 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000876/0.891, allocations: 116.8 kB / 1.478 GB, free: 267 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.891, allocations: 4.688 kB / 1.478 GB, free: 267 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006404/0.8917, allocations: 70.28 kB / 1.478 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.404e-05/0.8918, allocations: 16 kB / 1.478 GB, free: 266.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0003664/0.8921, allocations: 211 kB / 1.478 GB, free: 266.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.8923, allocations: 59.33 kB / 1.478 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.8925, allocations: 62.72 kB / 1.478 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.8925, allocations: 7.938 kB / 1.478 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.8925, allocations: 0 / 1.478 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/0.8927, allocations: 172.8 kB / 1.479 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.965e-05/0.8928, allocations: 8.656 kB / 1.479 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005146/0.8934, allocations: 34.19 kB / 1.479 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.8935, allocations: 36.38 kB / 1.479 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002164/0.8957, allocations: 0.5737 MB / 1.479 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002238/0.898, allocations: 0.8663 MB / 1.48 GB, free: 264.8 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006687/0.8987, allocations: 209.7 kB / 1.48 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000488/0.8992, allocations: 310.8 kB / 1.481 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of Backend: time 5.51e-07/0.8992, allocations: 0.5938 kB / 1.481 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.9006, allocations: 420.1 kB / 1.481 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of SimCode: time 0.003543/0.9042, allocations: 1.966 MB / 1.483 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.0185/0.9228, allocations: 6.244 MB / 1.489 GB, free: 256 MB / 0.8542 GB