Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Continuous.Examples.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.229/5.229, allocations: 0.5623 GB / 0.5776 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.00255/0.002549, allocations: 354.5 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.2/4.2, allocations: 410.7 MB / 1.113 GB, free: 5.898 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.001863/0.001863, allocations: 176.1 kB / 1.226 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007649/0.0007652, allocations: 12 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7574/0.7581, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004391/0.7626, allocations: 3.141 MB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00322/0.7659, allocations: 1.24 MB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007274/0.7667, allocations: 27.81 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.7668, allocations: 51.38 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000881/0.7677, allocations: 164.5 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.7695, allocations: 463.5 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001517/0.771, allocations: 0.8432 MB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006072/0.7717, allocations: 249.1 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005263/0.7722, allocations: 279.6 kB / 1.468 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003574/0.7726, allocations: 255.6 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.311e-05/0.7727, allocations: 20 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.387e-05/0.7728, allocations: 20 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.7729, allocations: 108.1 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.7731, allocations: 145.2 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007244/0.7738, allocations: 0.6262 MB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.7738, allocations: 0 / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7738, allocations: 4.656 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.7739, allocations: 0 / 1.469 GB, free: 276.7 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002896/0.7768, allocations: 1.062 MB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.7768, allocations: 15.62 kB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002803/0.7771, allocations: 90.88 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.7785, allocations: 0.5799 MB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.7787, allocations: 101 kB / 1.471 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.7788, allocations: 61.69 kB / 1.471 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.7804, allocations: 0.609 MB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.7805, allocations: 5.375 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.918e-05/0.7806, allocations: 20 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.7806, allocations: 12 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.7822, allocations: 447.4 kB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004053/0.7863, allocations: 2.128 MB / 1.474 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/0.7883, allocations: 0.5154 MB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007587/0.7891, allocations: 225.1 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.23e-05/0.7892, allocations: 13.08 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.7902, allocations: 291.8 kB / 1.475 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=45): time 5.31e-06/0.7902, allocations: 0 / 1.475 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=45): time 0.002393/0.7926, allocations: 0.6369 MB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.7927, allocations: 92.86 kB / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009162/0.7936, allocations: 0.6061 MB / 1.476 GB, free: 269 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.593e-05/0.7938, allocations: 39.89 kB / 1.476 GB, free: 269 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.7941, allocations: 360.8 kB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.7942, allocations: 157.7 kB / 1.477 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.7943, allocations: 8 kB / 1.477 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.507e-05/0.7944, allocations: 333.9 kB / 1.477 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007696/0.7951, allocations: 187.7 kB / 1.477 GB, free: 267.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007667/0.7959, allocations: 281.3 kB / 1.477 GB, free: 267.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008121/0.7968, allocations: 236.4 kB / 1.478 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.7968, allocations: 0 / 1.478 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001952/0.7988, allocations: 0.6136 MB / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.7989, allocations: 192.8 kB / 1.478 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.7989, allocations: 1.406 kB / 1.478 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/0.799, allocations: 9.094 kB / 1.478 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009041/0.7999, allocations: 112.8 kB / 1.478 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.7999, allocations: 9.109 kB / 1.478 GB, free: 266.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007239/0.8006, allocations: 68.09 kB / 1.479 GB, free: 266.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.512e-05/0.8007, allocations: 17.59 kB / 1.479 GB, free: 266.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.8007, allocations: 4 kB / 1.479 GB, free: 266.4 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001618/0.8024, allocations: 0.5042 MB / 1.479 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.8024, allocations: 0 / 1.479 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.8025, allocations: 9.656 kB / 1.479 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008723/0.8034, allocations: 107.8 kB / 1.479 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.8034, allocations: 4 kB / 1.479 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007396/0.8042, allocations: 56.67 kB / 1.479 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/0.8043, allocations: 20.94 kB / 1.479 GB, free: 265.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0004737/0.8048, allocations: 278.5 kB / 1.48 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.805, allocations: 75.06 kB / 1.48 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.8052, allocations: 79.34 kB / 1.48 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.8052, allocations: 6.078 kB / 1.48 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.8052, allocations: 4 kB / 1.48 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.8055, allocations: 193.1 kB / 1.48 GB, free: 265 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.8057, allocations: 15.94 kB / 1.48 GB, free: 265 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008364/0.8065, allocations: 41.78 kB / 1.48 GB, free: 265 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.8067, allocations: 33.19 kB / 1.48 GB, free: 264.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002437/0.8091, allocations: 0.5966 MB / 1.481 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002677/0.8119, allocations: 0.905 MB / 1.481 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007399/0.8127, allocations: 214.3 kB / 1.482 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006891/0.8134, allocations: 435 kB / 1.482 GB, free: 262.8 MB / 0.8542 GB Notification: Performance of Backend: time 1.002e-06/0.8134, allocations: 1.125 kB / 1.482 GB, free: 262.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002432/0.8158, allocations: 0.7256 MB / 1.483 GB, free: 262 MB / 0.8542 GB Notification: Performance of SimCode: time 0.003186/0.8191, allocations: 1.852 MB / 1.485 GB, free: 260.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.02366/0.8428, allocations: 9.304 MB / 1.494 GB, free: 251.2 MB / 0.8542 GB