Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.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.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002165/0.002165, allocations: 191.1 kB / 16.25 MB, free: 6.621 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.806/1.806, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.678/1.678, allocations: 251.7 MB / 0.5089 GB, free: 3.367 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.001863/0.001863, allocations: 71.91 kB / 0.6218 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7509/0.7528, allocations: 104.7 MB / 0.724 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.007374/0.7602, allocations: 5.528 MB / 0.7294 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004174/0.7644, allocations: 1.755 MB / 0.7311 GB, free: 5.809 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006231/0.7651, allocations: 35.88 kB / 0.7312 GB, free: 5.773 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005842/0.7657, allocations: 190.3 kB / 0.7313 GB, free: 5.586 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005527/0.7663, allocations: 134.9 kB / 0.7315 GB, free: 5.453 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008422/0.7672, allocations: 463.4 kB / 0.7319 GB, free: 5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001351/0.7685, allocations: 1.53 MB / 0.7334 GB, free: 3.465 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009832/0.7695, allocations: 0.7184 MB / 0.7341 GB, free: 2.727 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005126/0.77, allocations: 0.5093 MB / 0.7346 GB, free: 2.215 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004841/0.7705, allocations: 0.5711 MB / 0.7352 GB, free: 1.641 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.7707, allocations: 148 kB / 0.7353 GB, free: 1.496 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.7709, allocations: 152 kB / 0.7354 GB, free: 1.348 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.7711, allocations: 318.8 kB / 0.7357 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000471/0.7716, allocations: 0.6174 MB / 0.7363 GB, free: 424 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.7731, allocations: 1.672 MB / 0.738 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.7731, allocations: 7.938 kB / 0.738 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.015e-06/0.7731, allocations: 0 / 0.738 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.7731, allocations: 0 / 0.738 GB, free: 14.73 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.002995/0.7761, allocations: 1.696 MB / 0.7396 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.7762, allocations: 12.03 kB / 0.7397 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.7764, allocations: 155.1 kB / 0.7398 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009936/0.7774, allocations: 0.7703 MB / 0.7406 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.206e-05/0.7775, allocations: 78.45 kB / 0.7406 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.7776, allocations: 112.3 kB / 0.7407 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.7795, allocations: 1.095 MB / 0.7418 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.7795, allocations: 0 / 0.7418 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/0.7796, allocations: 44 kB / 0.7418 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/0.7797, allocations: 24 kB / 0.7419 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.7813, allocations: 0.8236 MB / 0.7427 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005049/0.7863, allocations: 4.109 MB / 0.7467 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.7884, allocations: 0.9953 MB / 0.7477 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008033/0.7892, allocations: 463.6 kB / 0.7481 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.168e-05/0.7893, allocations: 9 kB / 0.7481 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008843/0.7902, allocations: 437 kB / 0.7485 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 2.484e-06/0.7902, allocations: 0 / 0.7485 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84): time 0.002247/0.7924, allocations: 1.061 MB / 0.7496 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.7926, allocations: 222.6 kB / 0.7498 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.7936, allocations: 0.8821 MB / 0.7506 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.925e-05/0.7937, allocations: 41.7 kB / 0.7507 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.7941, allocations: 0.5508 MB / 0.7512 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.7943, allocations: 283.8 kB / 0.7515 GB, free: 480 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.7946, allocations: 154.7 kB / 0.7516 GB, free: 316 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.7947, allocations: 341.9 kB / 0.752 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006871/0.7954, allocations: 328.7 kB / 0.7523 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008089/0.7962, allocations: 0.5051 MB / 0.7528 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.7976, allocations: 0.7299 MB / 0.7535 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.7976, allocations: 4 kB / 0.7535 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001772/0.7994, allocations: 0.9489 MB / 0.7544 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.7994, allocations: 10.34 kB / 0.7544 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.7994, allocations: 8.188 kB / 0.7544 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.7995, allocations: 8 kB / 0.7544 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/0.8002, allocations: 195.8 kB / 0.7546 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.8002, allocations: 11.94 kB / 0.7546 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005931/0.8008, allocations: 146.9 kB / 0.7548 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.574e-05/0.8009, allocations: 28 kB / 0.7548 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007452/0.8017, allocations: 446 kB / 0.7552 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005629/0.8022, allocations: 436.8 kB / 0.7556 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009016/0.8031, allocations: 0.605 MB / 0.7562 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/0.8031, allocations: 0 / 0.7562 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.001218/0.8044, allocations: 0.8085 MB / 0.757 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.8044, allocations: 8 kB / 0.757 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.8044, allocations: 0 / 0.757 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.8044, allocations: 11.98 kB / 0.757 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/0.805, allocations: 167.8 kB / 0.7572 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.805, allocations: 8.234 kB / 0.7572 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000489/0.8055, allocations: 123.2 kB / 0.7573 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/0.8056, allocations: 28 kB / 0.7574 GB, free: 10.24 MB / 0.5762 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.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 (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * 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.0002346/0.8058, allocations: 230.5 kB / 0.7576 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.8059, allocations: 110.6 kB / 0.7577 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.8062, allocations: 119.2 kB / 0.7578 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.8062, allocations: 12 kB / 0.7578 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.8062, allocations: 0 / 0.7578 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.8062, allocations: 3.984 kB / 0.7578 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.8074, allocations: 0.9831 MB / 0.7588 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.8074, allocations: 0 / 0.7588 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006648/0.808, allocations: 163.8 kB / 0.7589 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.8081, allocations: 4 kB / 0.7589 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.816e-05/0.8081, allocations: 19.98 kB / 0.7589 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.8081, allocations: 8 kB / 0.759 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8081, allocations: 0 / 0.759 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.8104, allocations: 1.233 MB / 0.7602 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.8105, allocations: 195.6 kB / 0.7603 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.76e-05/0.8106, allocations: 16 kB / 0.7604 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004284/0.8111, allocations: 63.94 kB / 0.7604 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.8112, allocations: 56.92 kB / 0.7605 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/0.8113, allocations: 19.94 kB / 0.7605 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007503/0.812, allocations: 0.6074 MB / 0.7611 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.812, allocations: 3.938 kB / 0.7611 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000812/0.8128, allocations: 382.4 kB / 0.7615 GB, free: 5.934 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.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 (84): * Single equations (assignments): 82 * 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.0002036/0.813, allocations: 131.1 kB / 0.7616 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002479/0.8155, allocations: 1.186 MB / 0.7627 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.8155, allocations: 4.75 kB / 0.7627 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006911/0.8162, allocations: 397.5 kB / 0.7631 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.8173, allocations: 272 kB / 0.7634 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.8204, allocations: 2.341 MB / 0.7657 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006259/0.821, allocations: 1.077 MB / 0.7667 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005047/0.8215, allocations: 140 kB / 0.7669 GB, free: 364 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.8217, allocations: 83.36 kB / 0.7669 GB, free: 280 kB / 0.5762 GB Notification: Performance of SimCode: time 2e-07/0.8217, allocations: 0 / 0.7669 GB, free: 280 kB / 0.5762 GB Notification: Performance of Templates: time 0.021/0.8427, allocations: 11.2 MB / 0.7779 GB, free: 5.191 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)