Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002097/0.002097, allocations: 197.2 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.55/1.55, allocations: 251.6 MB / 0.5088 GB, free: 3.383 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 59.92 kB / 0.6215 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6462/0.6477, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.006179/0.6539, allocations: 3.735 MB / 0.7274 GB, free: 9.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002795/0.6568, allocations: 1.356 MB / 0.7288 GB, free: 8.043 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006182/0.6574, allocations: 23.88 kB / 0.7288 GB, free: 8.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003069/0.6578, allocations: 99.09 kB / 0.7289 GB, free: 7.922 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005002/0.6583, allocations: 143 kB / 0.729 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.6595, allocations: 0.5294 MB / 0.7295 GB, free: 7.262 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009324/0.6604, allocations: 0.9017 MB / 0.7304 GB, free: 6.355 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005114/0.661, allocations: 339.6 kB / 0.7307 GB, free: 6.012 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003892/0.6614, allocations: 322.3 kB / 0.7311 GB, free: 5.695 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003213/0.6617, allocations: 330 kB / 0.7314 GB, free: 5.371 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.6618, allocations: 39.94 kB / 0.7314 GB, free: 5.332 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.286e-05/0.6619, allocations: 36 kB / 0.7314 GB, free: 5.297 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.662, allocations: 143.3 kB / 0.7316 GB, free: 5.156 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003156/0.6624, allocations: 341.7 kB / 0.7319 GB, free: 4.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006848/0.6631, allocations: 0.8173 MB / 0.7327 GB, free: 4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6631, allocations: 0 / 0.7327 GB, free: 4 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.22e-07/0.6631, allocations: 4 kB / 0.7327 GB, free: 3.996 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.6631, allocations: 0 / 0.7327 GB, free: 3.996 MB / 0.545 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.00213/0.6652, allocations: 1.187 MB / 0.7339 GB, free: 2.754 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.6653, allocations: 8.031 kB / 0.7339 GB, free: 2.746 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.6654, allocations: 95.81 kB / 0.734 GB, free: 2.652 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009353/0.6664, allocations: 0.5987 MB / 0.7345 GB, free: 2.008 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.6665, allocations: 96.97 kB / 0.7346 GB, free: 1.902 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-05/0.6666, allocations: 52.38 kB / 0.7347 GB, free: 1.852 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.6677, allocations: 0.6041 MB / 0.7353 GB, free: 1.199 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.6677, allocations: 0 / 0.7353 GB, free: 1.199 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/0.6678, allocations: 20 kB / 0.7353 GB, free: 1.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.6678, allocations: 16 kB / 0.7353 GB, free: 1.164 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009471/0.6687, allocations: 427.6 kB / 0.7357 GB, free: 0.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/0.6716, allocations: 2.118 MB / 0.7378 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.6728, allocations: 0.4957 MB / 0.7383 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004534/0.6733, allocations: 216.7 kB / 0.7385 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.199e-05/0.6734, allocations: 11.95 kB / 0.7385 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006617/0.674, allocations: 278.2 kB / 0.7388 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 2.605e-06/0.674, allocations: 3.938 kB / 0.7388 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.001467/0.6755, allocations: 0.6138 MB / 0.7394 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.6756, allocations: 84.86 kB / 0.7394 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007096/0.6763, allocations: 0.6217 MB / 0.7401 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/0.6764, allocations: 37.7 kB / 0.7401 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.6767, allocations: 364.8 kB / 0.7404 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.6768, allocations: 149.8 kB / 0.7406 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.677, allocations: 102.1 kB / 0.7407 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6771, allocations: 322 kB / 0.741 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/0.6776, allocations: 183 kB / 0.7412 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/0.6781, allocations: 280.2 kB / 0.7414 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000896/0.679, allocations: 477.9 kB / 0.7419 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.679, allocations: 3.938 kB / 0.7419 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001204/0.6802, allocations: 0.6021 MB / 0.7425 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.293e-05/0.6803, allocations: 31.42 kB / 0.7425 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.6803, allocations: 7.938 kB / 0.7425 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.6803, allocations: 4 kB / 0.7425 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.6808, allocations: 113.2 kB / 0.7426 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.6808, allocations: 8 kB / 0.7426 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.6812, allocations: 63.44 kB / 0.7427 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.114e-05/0.6813, allocations: 20 kB / 0.7427 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006041/0.6819, allocations: 309.2 kB / 0.743 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004517/0.6824, allocations: 268.3 kB / 0.7433 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008213/0.6832, allocations: 457.9 kB / 0.7437 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.864e-06/0.6832, allocations: 3.938 kB / 0.7437 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001108/0.6843, allocations: 0.5787 MB / 0.7443 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.6844, allocations: 33.7 kB / 0.7443 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.6844, allocations: 0 / 0.7443 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-06/0.6844, allocations: 8 kB / 0.7443 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.6848, allocations: 99.88 kB / 0.7444 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.6849, allocations: 7.938 kB / 0.7444 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003704/0.6852, allocations: 55.81 kB / 0.7445 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.6853, allocations: 20 kB / 0.7445 GB, free: 7.418 MB / 0.5606 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002407/0.6855, allocations: 212.1 kB / 0.7447 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.6856, allocations: 75 kB / 0.7448 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.6858, allocations: 83.33 kB / 0.7448 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.6859, allocations: 7.984 kB / 0.7448 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.6859, allocations: 4 kB / 0.7448 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.6859, allocations: 0 / 0.7448 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007397/0.6866, allocations: 0.6296 MB / 0.7455 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.6866, allocations: 4 kB / 0.7455 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004516/0.6871, allocations: 79.89 kB / 0.7455 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.6871, allocations: 4 kB / 0.7455 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.6872, allocations: 4 kB / 0.7455 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.6872, allocations: 7.984 kB / 0.7456 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6872, allocations: 0 / 0.7456 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.6886, allocations: 0.7286 MB / 0.7463 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.6888, allocations: 188.2 kB / 0.7464 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.119e-05/0.6889, allocations: 12 kB / 0.7465 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.6893, allocations: 31.97 kB / 0.7465 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-05/0.6894, allocations: 35.89 kB / 0.7465 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/0.6894, allocations: 15.98 kB / 0.7465 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005041/0.6899, allocations: 435 kB / 0.747 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6899, allocations: 0 / 0.747 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006246/0.6906, allocations: 219.2 kB / 0.7472 GB, free: 4.578 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001838/0.6907, allocations: 123.1 kB / 0.7473 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001531/0.6923, allocations: 0.7893 MB / 0.748 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6923, allocations: 0 / 0.748 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004381/0.6927, allocations: 207.8 kB / 0.7482 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008638/0.6936, allocations: 186 kB / 0.7484 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.6959, allocations: 1.46 MB / 0.7498 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/0.6965, allocations: 0.9105 MB / 0.7507 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000421/0.6969, allocations: 97.19 kB / 0.7508 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.6971, allocations: 43.44 kB / 0.7509 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.6971, allocations: 4 kB / 0.7509 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of Templates: time 0.01274/0.7098, allocations: 7.203 MB / 0.7579 GB, free: 9.562 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)