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 4.807/4.807, allocations: 0.5623 GB / 0.5769 GB, free: 3.367 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.00401/0.004009, allocations: 353.2 kB / 0.644 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.113/4.113, allocations: 410.7 MB / 1.112 GB, free: 5.91 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.001785/0.001785, allocations: 184.1 kB / 1.225 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006581/0.0006582, allocations: 16 kB / 1.348 GB, free: 8.191 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5933/0.594, 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.0034/0.5974, allocations: 3.15 MB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002562/0.6, allocations: 1.233 MB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005898/0.6006, allocations: 28.56 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.6008, allocations: 47.39 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000626/0.6014, allocations: 163.7 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.6028, allocations: 467.5 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.6038, allocations: 0.8432 MB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004435/0.6043, allocations: 248.7 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003424/0.6047, allocations: 274.9 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.6049, allocations: 259.5 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.267e-05/0.605, allocations: 20 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.867e-05/0.6051, allocations: 25 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.722e-05/0.6052, allocations: 107.4 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.6054, allocations: 137.3 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005462/0.6059, allocations: 0.6249 MB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.6059, allocations: 3.938 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.123e-06/0.6059, allocations: 3.938 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.606, allocations: 0 / 1.468 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.00187/0.6078, allocations: 1.063 MB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.6079, allocations: 12.62 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.6081, allocations: 94.88 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.6092, allocations: 0.5807 MB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.6093, allocations: 100.4 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.055e-05/0.6094, allocations: 55.91 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.6107, allocations: 0.6106 MB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.6107, allocations: 3.938 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-05/0.6108, allocations: 29.56 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.6108, allocations: 13.25 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.612, allocations: 439.8 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/0.6152, allocations: 2.134 MB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.6166, allocations: 0.5111 MB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005664/0.6172, allocations: 230.8 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/0.6173, allocations: 4 kB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000771/0.6181, allocations: 293.2 kB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=45): time 5.434e-06/0.6181, allocations: 2.188 kB / 1.474 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=45): time 0.001795/0.6199, allocations: 0.6444 MB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.62, allocations: 91.95 kB / 1.475 GB, free: 269.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007943/0.6208, allocations: 0.6022 MB / 1.475 GB, free: 269 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.755e-05/0.6209, allocations: 37.7 kB / 1.475 GB, free: 269 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.6211, allocations: 368.8 kB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.6212, allocations: 157.7 kB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.6213, allocations: 12 kB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.537e-05/0.6214, allocations: 326.9 kB / 1.476 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005391/0.6219, allocations: 179 kB / 1.476 GB, free: 268 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005794/0.6225, allocations: 289.8 kB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005789/0.6231, allocations: 243 kB / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.556e-06/0.6231, allocations: 0.8438 kB / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001473/0.6246, allocations: 0.6141 MB / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.594e-05/0.6247, allocations: 185 kB / 1.478 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.6247, allocations: 4 kB / 1.478 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.6248, allocations: 4 kB / 1.478 GB, free: 266.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005886/0.6254, allocations: 113 kB / 1.478 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.6254, allocations: 12.45 kB / 1.478 GB, free: 266.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004954/0.6259, allocations: 65.09 kB / 1.478 GB, free: 266.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/0.626, allocations: 20.91 kB / 1.478 GB, free: 266.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.577e-06/0.626, allocations: 4 kB / 1.478 GB, free: 266.4 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001213/0.6272, allocations: 0.5009 MB / 1.478 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.297e-06/0.6273, allocations: 4 kB / 1.478 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.6273, allocations: 4.688 kB / 1.478 GB, free: 265.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/0.6278, allocations: 105 kB / 1.479 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.6278, allocations: 7.984 kB / 1.479 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005246/0.6284, allocations: 61.64 kB / 1.479 GB, free: 265.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/0.6284, allocations: 16 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.0003715/0.6288, allocations: 281.7 kB / 1.479 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.629, allocations: 75.05 kB / 1.479 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.6291, allocations: 81.16 kB / 1.479 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.05e-06/0.6291, allocations: 4 kB / 1.479 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.679e-06/0.6292, allocations: 0 / 1.479 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.116e-06/0.6292, allocations: 11.17 kB / 1.479 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006968/0.6299, allocations: 0.6247 MB / 1.48 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.6299, allocations: 0 / 1.48 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/0.6305, allocations: 83.88 kB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.691e-06/0.6305, allocations: 4 kB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/0.6306, allocations: 12 kB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.024e-06/0.6306, allocations: 4.656 kB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.633e-06/0.6306, allocations: 0 / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.6325, allocations: 0.7452 MB / 1.481 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002872/0.6328, allocations: 204 kB / 1.481 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.86e-05/0.6329, allocations: 19.88 kB / 1.481 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/0.6334, allocations: 42.17 kB / 1.481 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.6335, allocations: 32.73 kB / 1.481 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/0.6336, allocations: 15.98 kB / 1.481 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000577/0.6342, allocations: 432.1 kB / 1.481 GB, free: 263 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.87e-07/0.6342, allocations: 0 / 1.481 GB, free: 263 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007954/0.635, allocations: 215.3 kB / 1.481 GB, free: 262.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.0001486/0.6352, allocations: 108.8 kB / 1.482 GB, free: 262.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001908/0.6371, allocations: 0.8083 MB / 1.482 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.147e-06/0.6371, allocations: 4.906 kB / 1.482 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005756/0.6377, allocations: 226 kB / 1.483 GB, free: 261.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.6388, allocations: 176.8 kB / 1.483 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.6412, allocations: 1.393 MB / 1.484 GB, free: 260 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.6416, allocations: 0.9318 MB / 1.485 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005816/0.6422, allocations: 102.6 kB / 1.485 GB, free: 259 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.6424, allocations: 47.44 kB / 1.485 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.77e-06/0.6424, allocations: 1.594 kB / 1.485 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.0172/0.6596, allocations: 6.885 MB / 1.492 GB, free: 252.3 MB / 0.8542 GB