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 4.91/4.91, 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.002418/0.002418, allocations: 357.2 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.109/4.109, 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.001781/0.001781, allocations: 179.8 kB / 1.225 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004916/0.0004918, allocations: 12 kB / 1.348 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5858/0.5863, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003982/0.5903, allocations: 3.538 MB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002528/0.5929, allocations: 1.248 MB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004727/0.5934, allocations: 24.59 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.5936, allocations: 59.42 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006064/0.5942, allocations: 190.9 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008189/0.595, allocations: 307.2 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007694/0.5958, allocations: 0.8383 MB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004676/0.5963, allocations: 300.5 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.5965, allocations: 223.7 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.5968, allocations: 242.6 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.072e-05/0.5969, allocations: 25.91 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.866e-05/0.597, allocations: 20 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.91e-05/0.5971, allocations: 95.48 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.5972, allocations: 153.3 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006586/0.5979, allocations: 0.8084 MB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.66e-06/0.5979, allocations: 0.5625 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.025e-06/0.5979, allocations: 2.969 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.5979, allocations: 3.938 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.001566/0.5995, allocations: 0.9546 MB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.5995, allocations: 15.62 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.5997, allocations: 79.56 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000869/0.6006, allocations: 0.5466 MB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.326e-05/0.6006, allocations: 41.31 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.691e-05/0.6007, allocations: 61.12 kB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.602, allocations: 0.6078 MB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.602, allocations: 4 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-05/0.6021, allocations: 24 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.6021, allocations: 16 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.6033, allocations: 463.6 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003191/0.6065, allocations: 2.022 MB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.6076, allocations: 458.2 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005331/0.6082, allocations: 252.2 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.362e-05/0.6082, allocations: 5.906 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006213/0.6089, allocations: 263.3 kB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=49): time 4.007e-06/0.6089, allocations: 0 / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=49): time 0.001545/0.6104, allocations: 0.5963 MB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.6105, allocations: 55.84 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005451/0.6111, allocations: 446.5 kB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.6111, allocations: 34.67 kB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.6113, allocations: 325 kB / 1.476 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.6115, allocations: 162.9 kB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.6115, allocations: 12 kB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.6116, allocations: 363.3 kB / 1.476 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004705/0.6121, allocations: 174.3 kB / 1.476 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005018/0.6126, allocations: 249.6 kB / 1.477 GB, free: 268 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005822/0.6132, allocations: 227.4 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.821e-06/0.6132, allocations: 0.5625 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0013/0.6146, allocations: 0.5706 MB / 1.477 GB, free: 267.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.6146, allocations: 37.66 kB / 1.477 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.961e-06/0.6146, allocations: 5.656 kB / 1.477 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.6147, allocations: 4 kB / 1.477 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005944/0.6153, allocations: 115.8 kB / 1.477 GB, free: 267 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.6153, allocations: 5.031 kB / 1.477 GB, free: 267 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/0.6157, allocations: 69.47 kB / 1.478 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/0.6158, 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.0003256/0.6161, allocations: 207.7 kB / 1.478 GB, free: 266.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.42e-05/0.6162, allocations: 60.17 kB / 1.478 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.6164, allocations: 70.86 kB / 1.478 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.038e-06/0.6164, allocations: 8 kB / 1.478 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.532e-06/0.6164, allocations: 5.344 kB / 1.478 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.898e-06/0.6164, allocations: 3.984 kB / 1.478 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.6184, allocations: 1.182 MB / 1.479 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.656e-06/0.6185, allocations: 4 kB / 1.479 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005963/0.6191, allocations: 103.7 kB / 1.479 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.6191, allocations: 4.781 kB / 1.479 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/0.6192, allocations: 10.58 kB / 1.479 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.953e-06/0.6192, allocations: 5.875 kB / 1.479 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6192, allocations: 0 / 1.479 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.6208, allocations: 0.77 MB / 1.48 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/0.621, allocations: 172.3 kB / 1.48 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.131e-05/0.6211, allocations: 15.95 kB / 1.48 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/0.6215, allocations: 30.97 kB / 1.48 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.6217, allocations: 40.38 kB / 1.48 GB, free: 264.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/0.6217, allocations: 12 kB / 1.48 GB, free: 264.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003892/0.6221, allocations: 310.8 kB / 1.48 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.06e-07/0.6221, allocations: 0 / 1.48 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005756/0.6227, allocations: 139.5 kB / 1.481 GB, free: 263.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001323/0.6229, allocations: 115 kB / 1.481 GB, free: 263.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00109/0.624, allocations: 493.9 kB / 1.481 GB, free: 263.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.618e-06/0.624, allocations: 0 / 1.481 GB, free: 263.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005016/0.6245, allocations: 219.6 kB / 1.481 GB, free: 262.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008908/0.6254, allocations: 142.7 kB / 1.482 GB, free: 262.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.6285, allocations: 1.623 MB / 1.483 GB, free: 261.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.6289, allocations: 0.9032 MB / 1.484 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004092/0.6293, allocations: 64.7 kB / 1.484 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.6295, allocations: 39.44 kB / 1.484 GB, free: 260.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.724e-06/0.6295, allocations: 3.938 kB / 1.484 GB, free: 260.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.01402/0.6435, allocations: 5.35 MB / 1.489 GB, free: 255.1 MB / 0.8542 GB