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.006664/0.006664, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001426/0.001426, allocations: 198.8 kB / 16.68 MB, free: 5.93 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.64/1.64, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.605/1.605, allocations: 251.7 MB / 0.5094 GB, free: 3.051 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.001422/0.001422, allocations: 71.89 kB / 0.7257 GB, free: 9.113 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2631, allocations: 104.7 MB / 0.828 GB, free: 300 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.006537/0.2697, allocations: 3.725 MB / 0.8317 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003581/0.2733, allocations: 1.38 MB / 0.833 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008516/0.2742, allocations: 27.81 kB / 0.833 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005188/0.2748, allocations: 130.5 kB / 0.8332 GB, free: 11 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.2758, allocations: 182.5 kB / 0.8333 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.2775, allocations: 0.5728 MB / 0.8339 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001891/0.2794, allocations: 0.9759 MB / 0.8348 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007495/0.2801, allocations: 353.6 kB / 0.8352 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000758/0.2809, allocations: 370.5 kB / 0.8355 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006449/0.2816, allocations: 358 kB / 0.8359 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002379/0.2818, allocations: 80 kB / 0.8359 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.282, allocations: 80 kB / 0.836 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000285/0.2823, allocations: 179.3 kB / 0.8362 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000485/0.2828, allocations: 381.7 kB / 0.8366 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.284, allocations: 0.8912 MB / 0.8374 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.284, allocations: 4 kB / 0.8374 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.943e-06/0.284, allocations: 0 / 0.8374 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.704e-05/0.2841, allocations: 0 / 0.8374 GB, free: 6.598 MB / 0.6544 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.002481/0.2866, allocations: 1.187 MB / 0.8386 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.2866, allocations: 8.031 kB / 0.8386 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.2868, allocations: 95.81 kB / 0.8387 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.288, allocations: 0.6298 MB / 0.8393 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.2881, allocations: 104.9 kB / 0.8394 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.85e-05/0.2882, allocations: 56.38 kB / 0.8395 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.2893, allocations: 0.6003 MB / 0.84 GB, free: 3.766 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.2894, allocations: 3.984 kB / 0.84 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.216e-05/0.2894, allocations: 20 kB / 0.8401 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.2894, allocations: 16 kB / 0.8401 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000939/0.2904, allocations: 419.7 kB / 0.8405 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002665/0.293, allocations: 2.094 MB / 0.8425 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.2942, allocations: 0.5 MB / 0.843 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004327/0.2947, allocations: 212.8 kB / 0.8432 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.887e-05/0.2948, allocations: 11.95 kB / 0.8432 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006466/0.2954, allocations: 282.1 kB / 0.8435 GB, free: 120 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 3.647e-06/0.2954, allocations: 0 / 0.8435 GB, free: 120 kB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.001437/0.2969, allocations: 0.6139 MB / 0.8441 GB, free: 15.49 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.297, allocations: 84.86 kB / 0.8442 GB, free: 15.39 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007154/0.2977, allocations: 0.6218 MB / 0.8448 GB, free: 14.76 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/0.2977, allocations: 33.7 kB / 0.8448 GB, free: 14.72 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.298, allocations: 364.8 kB / 0.8452 GB, free: 14.36 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.2982, allocations: 161.7 kB / 0.8453 GB, free: 14.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.2983, allocations: 98.16 kB / 0.8454 GB, free: 14.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2985, allocations: 329.9 kB / 0.8457 GB, free: 13.77 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004393/0.2989, allocations: 179 kB / 0.8459 GB, free: 13.59 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004663/0.2994, allocations: 280.2 kB / 0.8462 GB, free: 13.29 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000862/0.3003, allocations: 473.9 kB / 0.8466 GB, free: 12.79 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.3003, allocations: 7.875 kB / 0.8466 GB, free: 12.78 MB / 0.67 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001142/0.3014, allocations: 0.5982 MB / 0.8472 GB, free: 12.16 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/0.3015, allocations: 33.7 kB / 0.8472 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.3015, allocations: 0 / 0.8472 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.3015, allocations: 4 kB / 0.8472 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004636/0.302, allocations: 112.1 kB / 0.8474 GB, free: 12.01 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.302, allocations: 11.98 kB / 0.8474 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003555/0.3024, allocations: 55.52 kB / 0.8474 GB, free: 11.95 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/0.3024, allocations: 23.98 kB / 0.8474 GB, free: 11.92 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005341/0.303, allocations: 306.9 kB / 0.8477 GB, free: 11.62 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004401/0.3034, allocations: 268.2 kB / 0.848 GB, free: 11.32 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007857/0.3042, allocations: 454 kB / 0.8484 GB, free: 10.84 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.956e-06/0.3042, allocations: 0 / 0.8484 GB, free: 10.84 MB / 0.67 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001077/0.3053, allocations: 0.5826 MB / 0.849 GB, free: 10.25 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/0.3054, allocations: 37.69 kB / 0.849 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3054, allocations: 4 kB / 0.849 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.563e-06/0.3054, allocations: 4 kB / 0.849 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.3058, allocations: 99.83 kB / 0.8491 GB, free: 10.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3058, allocations: 8 kB / 0.8491 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.3062, allocations: 55.5 kB / 0.8492 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.3062, allocations: 24.19 kB / 0.8492 GB, free: 10.02 MB / 0.67 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.0001686/0.3064, allocations: 213.6 kB / 0.8494 GB, free: 9.801 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.3065, allocations: 71.06 kB / 0.8495 GB, free: 9.73 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.3066, allocations: 87.27 kB / 0.8496 GB, free: 9.641 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.3067, allocations: 4 kB / 0.8496 GB, free: 9.637 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.3067, allocations: 8 kB / 0.8496 GB, free: 9.629 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3067, allocations: 3.984 kB / 0.8496 GB, free: 9.625 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006857/0.3074, allocations: 0.618 MB / 0.8502 GB, free: 8.957 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3074, allocations: 4 kB / 0.8502 GB, free: 8.953 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00044/0.3078, allocations: 83.88 kB / 0.8503 GB, free: 8.871 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.3078, allocations: 4 kB / 0.8503 GB, free: 8.867 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.3079, allocations: 12 kB / 0.8503 GB, free: 8.855 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3079, allocations: 0 / 0.8503 GB, free: 8.855 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3079, allocations: 0 / 0.8503 GB, free: 8.855 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.3094, allocations: 0.7363 MB / 0.851 GB, free: 8.098 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.3096, allocations: 188.2 kB / 0.8512 GB, free: 7.895 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.668e-05/0.3097, allocations: 8 kB / 0.8512 GB, free: 7.887 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.3101, allocations: 39.95 kB / 0.8512 GB, free: 7.848 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.3102, allocations: 35.89 kB / 0.8513 GB, free: 7.812 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.3102, allocations: 12 kB / 0.8513 GB, free: 7.801 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005354/0.3108, allocations: 435 kB / 0.8517 GB, free: 7.383 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3108, allocations: 0 / 0.8517 GB, free: 7.383 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000657/0.3115, allocations: 215.3 kB / 0.8519 GB, free: 7.172 MB / 0.67 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.0001478/0.3116, allocations: 123.1 kB / 0.852 GB, free: 7.043 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001565/0.3132, allocations: 0.7815 MB / 0.8528 GB, free: 6.238 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3132, allocations: 0 / 0.8528 GB, free: 6.238 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004682/0.3137, allocations: 215.8 kB / 0.853 GB, free: 6.027 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008816/0.3146, allocations: 213.2 kB / 0.8532 GB, free: 5.832 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.3168, allocations: 1.181 MB / 0.8543 GB, free: 4.621 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005763/0.3174, allocations: 0.9293 MB / 0.8552 GB, free: 3.664 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003871/0.3178, allocations: 93.2 kB / 0.8553 GB, free: 3.574 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.318, allocations: 51.42 kB / 0.8554 GB, free: 3.523 MB / 0.67 GB Notification: Performance of SimCode: time 1.372e-06/0.318, allocations: 0 / 0.8554 GB, free: 3.523 MB / 0.67 GB Notification: Performance of Templates: time 0.01716/0.3351, allocations: 7.68 MB / 0.8629 GB, free: 11.93 MB / 0.6856 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)