Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001177/0.001177, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.465/1.465, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 292.3 MB / 0.5489 GB, free: 12.85 MB / 462.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.00155/0.00155, allocations: 71.97 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2853, allocations: 114.5 MB / 0.7834 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005103/0.2905, allocations: 3.732 MB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002904/0.2934, allocations: 1.372 MB / 0.7883 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005142/0.2939, allocations: 23.88 kB / 0.7884 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003847/0.2944, allocations: 130.6 kB / 0.7885 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005381/0.2949, allocations: 173.7 kB / 0.7886 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.2962, allocations: 0.5785 MB / 0.7892 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001057/0.2973, allocations: 0.9605 MB / 0.7902 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005779/0.2978, allocations: 345.9 kB / 0.7905 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004537/0.2983, allocations: 362.4 kB / 0.7908 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000404/0.2987, allocations: 358.1 kB / 0.7912 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.2989, allocations: 76 kB / 0.7912 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.299, allocations: 83.94 kB / 0.7913 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.2992, allocations: 179.2 kB / 0.7915 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003422/0.2995, allocations: 381.7 kB / 0.7919 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009255/0.3004, allocations: 0.8602 MB / 0.7927 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3004, allocations: 0 / 0.7927 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.275e-06/0.3005, allocations: 0 / 0.7927 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.485e-05/0.3005, allocations: 0 / 0.7927 GB, free: 3.902 MB / 0.6075 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.002151/0.3026, allocations: 1.183 MB / 0.7939 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.3027, allocations: 12.03 kB / 0.7939 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/0.3029, allocations: 91.81 kB / 0.794 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009911/0.3039, allocations: 0.6026 MB / 0.7945 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.3041, allocations: 96.97 kB / 0.7946 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.463e-05/0.3042, allocations: 60.27 kB / 0.7947 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.3053, allocations: 0.5964 MB / 0.7953 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.3053, allocations: 3.938 kB / 0.7953 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.457e-05/0.3054, allocations: 24 kB / 0.7953 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.3054, allocations: 12 kB / 0.7953 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009542/0.3063, allocations: 427.6 kB / 0.7957 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003169/0.3095, allocations: 2.114 MB / 0.7978 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.3108, allocations: 0.5076 MB / 0.7983 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004559/0.3112, allocations: 223.4 kB / 0.7985 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.363e-05/0.3113, allocations: 4 kB / 0.7985 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007165/0.312, allocations: 278 kB / 0.7988 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 2.244e-06/0.312, allocations: 0 / 0.7988 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001529/0.3136, allocations: 0.6154 MB / 0.7994 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.3136, allocations: 88.84 kB / 0.7994 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007634/0.3144, allocations: 0.61 MB / 0.8 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.555e-05/0.3145, allocations: 41.64 kB / 0.8001 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.3148, allocations: 364.8 kB / 0.8004 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.315, allocations: 153.8 kB / 0.8006 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.3151, allocations: 94.23 kB / 0.8007 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3154, allocations: 326 kB / 0.801 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000507/0.3159, allocations: 187 kB / 0.8012 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005473/0.3164, allocations: 280.2 kB / 0.8014 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009371/0.3174, allocations: 474 kB / 0.8019 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.3174, allocations: 3.938 kB / 0.8019 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001258/0.3187, allocations: 0.6021 MB / 0.8025 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.456e-05/0.3187, allocations: 33.7 kB / 0.8025 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.3187, allocations: 3.984 kB / 0.8025 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.3188, allocations: 11.94 kB / 0.8025 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/0.3193, allocations: 107.9 kB / 0.8026 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.3193, allocations: 7.938 kB / 0.8026 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.3197, allocations: 71.66 kB / 0.8027 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.3197, allocations: 16 kB / 0.8027 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006019/0.3204, allocations: 313.2 kB / 0.803 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005073/0.3209, allocations: 264.3 kB / 0.8033 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008606/0.3217, allocations: 453.9 kB / 0.8037 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.3218, allocations: 4 kB / 0.8037 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001099/0.3229, allocations: 0.5708 MB / 0.8043 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.3229, allocations: 38.02 kB / 0.8043 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3229, allocations: 4 kB / 0.8043 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.3229, allocations: 4 kB / 0.8043 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/0.3234, allocations: 107.8 kB / 0.8044 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3234, allocations: 4 kB / 0.8044 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/0.3237, allocations: 51.56 kB / 0.8045 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.3238, allocations: 27.94 kB / 0.8045 GB, free: 7.324 MB / 0.6231 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.0002101/0.324, allocations: 214.5 kB / 0.8047 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.3241, allocations: 75.09 kB / 0.8048 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.3243, allocations: 79.33 kB / 0.8048 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.3243, allocations: 11.98 kB / 0.8048 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.3243, allocations: 0 / 0.8048 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3243, allocations: 0 / 0.8048 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007723/0.3251, allocations: 0.6257 MB / 0.8055 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3251, allocations: 0 / 0.8055 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006302/0.3258, allocations: 87.83 kB / 0.8055 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.3258, allocations: 4 kB / 0.8055 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.3258, allocations: 11.98 kB / 0.8056 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.3258, allocations: 0 / 0.8056 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3258, allocations: 0 / 0.8056 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.3274, allocations: 0.7314 MB / 0.8063 GB, free: 5.414 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.3277, allocations: 192 kB / 0.8064 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-05/0.3278, allocations: 12 kB / 0.8065 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.3282, allocations: 27.97 kB / 0.8065 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.3283, allocations: 39.95 kB / 0.8065 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.3283, allocations: 11.98 kB / 0.8065 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006189/0.329, allocations: 435 kB / 0.807 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.329, allocations: 4 kB / 0.807 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007244/0.3297, allocations: 215.3 kB / 0.8072 GB, free: 4.484 MB / 0.6231 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.0002/0.3299, allocations: 123.2 kB / 0.8073 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001932/0.3319, allocations: 0.8088 MB / 0.8081 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3319, allocations: 128 / 0.8081 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005564/0.3324, allocations: 223.8 kB / 0.8083 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009966/0.3334, allocations: 204.9 kB / 0.8085 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.3358, allocations: 1.199 MB / 0.8096 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/0.3365, allocations: 0.918 MB / 0.8105 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004249/0.3369, allocations: 93.19 kB / 0.8106 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.337, allocations: 47.44 kB / 0.8107 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of SimCode: time 7.91e-07/0.3371, allocations: 0 / 0.8107 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of Templates: time 0.01689/0.3539, allocations: 7.583 MB / 0.8181 GB, free: 9.305 MB / 0.6388 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)