Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002304/0.002304, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.722/1.722, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.26/3.26, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 1.001 GB, free: 13.1 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.941e-05, allocations: 5.656 kB / 1.001 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005327/0.005357, allocations: 3.376 MB / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002716/0.008072, allocations: 1.328 MB / 1.006 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004115/0.008484, allocations: 31.75 kB / 1.006 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.00883, allocations: 138.5 kB / 1.006 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005715/0.009402, allocations: 194.4 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.01059, allocations: 0.5724 MB / 1.007 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.01177, allocations: 0.9719 MB / 1.008 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004752/0.01225, allocations: 242.2 kB / 1.008 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006888/0.01293, allocations: 0.5065 MB / 1.008 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004111/0.01334, allocations: 263 kB / 1.008 GB, free: 5.449 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.01348, allocations: 76 kB / 1.009 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.01361, allocations: 80 kB / 1.009 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.01381, allocations: 187.3 kB / 1.009 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000287/0.0141, allocations: 235.2 kB / 1.009 GB, free: 4.883 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.01522, allocations: 0.9304 MB / 1.01 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.01522, allocations: 0 / 1.01 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.032e-06/0.01522, allocations: 0 / 1.01 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.01523, allocations: 0 / 1.01 GB, free: 3.949 MB / 0.9636 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.002255/0.01749, allocations: 1.123 MB / 1.011 GB, free: 2.781 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.01753, allocations: 9.344 kB / 1.011 GB, free: 2.773 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.0177, allocations: 96.33 kB / 1.011 GB, free: 2.68 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.01877, allocations: 0.5615 MB / 1.012 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.01894, allocations: 144.4 kB / 1.012 GB, free: 1.934 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.01904, allocations: 56.38 kB / 1.012 GB, free: 1.879 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.02047, allocations: 0.7638 MB / 1.013 GB, free: 1.039 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.02049, allocations: 8.125 kB / 1.013 GB, free: 1.031 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.948e-05/0.02055, allocations: 24.12 kB / 1.013 GB, free: 1.008 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.02056, allocations: 12 kB / 1.013 GB, free: 0.9961 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.02164, allocations: 423.7 kB / 1.013 GB, free: 0.5781 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002887/0.02452, allocations: 1.815 MB / 1.015 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.02584, allocations: 483.6 kB / 1.015 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005291/0.02637, allocations: 219.2 kB / 1.016 GB, free: 14 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.02641, allocations: 4 kB / 1.016 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007374/0.02715, allocations: 325.6 kB / 1.016 GB, free: 13.65 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=45): time 2.084e-06/0.02715, allocations: 7.938 kB / 1.016 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of matching and sorting (n=45): time 0.001624/0.02877, allocations: 0.6181 MB / 1.016 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.912e-05/0.02886, allocations: 114.6 kB / 1.017 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007683/0.02963, allocations: 0.5785 MB / 1.017 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.469e-05/0.02969, allocations: 33.7 kB / 1.017 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/0.03004, allocations: 365.1 kB / 1.018 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.03019, allocations: 158.6 kB / 1.018 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.03036, allocations: 98.3 kB / 1.018 GB, free: 11.63 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002286/0.03059, allocations: 386.7 kB / 1.018 GB, free: 11.24 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005353/0.03113, allocations: 209.1 kB / 1.018 GB, free: 11.03 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006532/0.03178, allocations: 371.2 kB / 1.019 GB, free: 10.61 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.03285, allocations: 483 kB / 1.019 GB, free: 10.1 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.03285, allocations: 0 / 1.019 GB, free: 10.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001452/0.0343, allocations: 0.6369 MB / 1.02 GB, free: 9.441 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.865e-05/0.03435, allocations: 37.64 kB / 1.02 GB, free: 9.398 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.03436, allocations: 1.094 kB / 1.02 GB, free: 9.398 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.03438, allocations: 8 kB / 1.02 GB, free: 9.391 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005314/0.03491, allocations: 112.1 kB / 1.02 GB, free: 9.281 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.03492, allocations: 4 kB / 1.02 GB, free: 9.277 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004121/0.03533, allocations: 63.64 kB / 1.02 GB, free: 9.215 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.03538, allocations: 19.98 kB / 1.02 GB, free: 9.195 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006601/0.03604, allocations: 341.7 kB / 1.02 GB, free: 8.855 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005945/0.03663, allocations: 359.2 kB / 1.021 GB, free: 8.445 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009638/0.0376, allocations: 454.9 kB / 1.021 GB, free: 7.957 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.499e-06/0.0376, allocations: 4 kB / 1.021 GB, free: 7.953 MB / 0.9792 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001263/0.03886, allocations: 0.6096 MB / 1.022 GB, free: 7.328 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.0389, allocations: 37.7 kB / 1.022 GB, free: 7.285 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.03891, allocations: 4 kB / 1.022 GB, free: 7.281 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.395e-06/0.03891, allocations: 7.938 kB / 1.022 GB, free: 7.273 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.03939, allocations: 99.88 kB / 1.022 GB, free: 7.176 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.0394, allocations: 11.94 kB / 1.022 GB, free: 7.164 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.03981, allocations: 59.95 kB / 1.022 GB, free: 7.105 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.03985, allocations: 16 kB / 1.022 GB, free: 7.09 MB / 0.9792 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.0001987/0.04005, allocations: 212.1 kB / 1.022 GB, free: 6.875 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.04016, allocations: 71.53 kB / 1.022 GB, free: 6.805 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.04032, allocations: 82.69 kB / 1.022 GB, free: 6.723 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.04032, allocations: 4 kB / 1.022 GB, free: 6.719 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.04033, allocations: 0 / 1.022 GB, free: 6.719 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.04034, allocations: 4 kB / 1.022 GB, free: 6.715 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006461/0.04098, allocations: 456.8 kB / 1.023 GB, free: 6.238 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.04098, allocations: 4 kB / 1.023 GB, free: 6.234 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/0.04148, allocations: 87.88 kB / 1.023 GB, free: 6.148 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.04149, allocations: 0 / 1.023 GB, free: 6.148 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.04152, allocations: 8 kB / 1.023 GB, free: 6.141 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/0.04153, allocations: 3.938 kB / 1.023 GB, free: 6.137 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.04153, allocations: 0 / 1.023 GB, free: 6.137 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.04324, allocations: 0.7296 MB / 1.024 GB, free: 5.391 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/0.04349, allocations: 115.4 kB / 1.024 GB, free: 5.277 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.443e-05/0.04356, allocations: 12 kB / 1.024 GB, free: 5.266 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000441/0.044, allocations: 39.89 kB / 1.024 GB, free: 5.227 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.04411, allocations: 43.81 kB / 1.024 GB, free: 5.184 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/0.04415, allocations: 20.11 kB / 1.024 GB, free: 5.164 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0005363/0.04469, allocations: 399.1 kB / 1.024 GB, free: 4.777 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.04469, allocations: 0 / 1.024 GB, free: 4.777 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0006506/0.04534, allocations: 235.3 kB / 1.024 GB, free: 4.547 MB / 0.9792 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.0001785/0.04552, allocations: 115.1 kB / 1.024 GB, free: 4.426 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001815/0.04733, allocations: 0.8169 MB / 1.025 GB, free: 3.57 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.04734, allocations: 0 / 1.025 GB, free: 3.57 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005156/0.04785, allocations: 199.9 kB / 1.025 GB, free: 3.375 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009216/0.04877, allocations: 199.1 kB / 1.026 GB, free: 3.188 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.05118, allocations: 1.154 MB / 1.027 GB, free: 2 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.05153, allocations: 322.9 kB / 1.027 GB, free: 1.656 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003952/0.05192, allocations: 88.95 kB / 1.027 GB, free: 1.566 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.05207, allocations: 44.5 kB / 1.027 GB, free: 1.523 MB / 0.9792 GB Notification: Performance of SimCode: time 6.52e-07/0.05207, allocations: 0 / 1.027 GB, free: 1.523 MB / 0.9792 GB Notification: Performance of Templates: time 0.01651/0.06858, allocations: 7.994 MB / 1.035 GB, free: 9.719 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_13_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.327086107805371]