Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.545/2.545, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 182.2 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.647/2.647, allocations: 205.4 MB / 0.5767 GB, free: 21.04 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 90.91 kB / 0.6812 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007317/0.0007319, allocations: 15.34 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2741, allocations: 106.3 MB / 0.899 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.006706/0.2809, allocations: 3.146 MB / 0.9021 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005286/0.2863, allocations: 1.318 MB / 0.9034 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.2875, allocations: 23.88 kB / 0.9034 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005011/0.288, allocations: 91.09 kB / 0.9035 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.2891, allocations: 135 kB / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002634/0.2917, allocations: 463.1 kB / 0.9041 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001834/0.2936, allocations: 0.8432 MB / 0.9049 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009312/0.2945, allocations: 327.1 kB / 0.9052 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006861/0.2952, allocations: 278.4 kB / 0.9055 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005002/0.2958, allocations: 262.3 kB / 0.9057 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.2959, allocations: 27.98 kB / 0.9057 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.296, allocations: 20 kB / 0.9058 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.2962, allocations: 103.4 kB / 0.9059 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.2964, allocations: 145.2 kB / 0.906 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.2975, allocations: 0.6195 MB / 0.9066 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2975, allocations: 0 / 0.9066 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.745e-06/0.2975, allocations: 0 / 0.9066 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.2975, allocations: 0 / 0.9066 GB, free: 58.09 MB / 0.6042 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.003545/0.3011, allocations: 1.071 MB / 0.9077 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.3012, allocations: 8.031 kB / 0.9077 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003041/0.3015, allocations: 99.8 kB / 0.9078 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.3033, allocations: 0.5758 MB / 0.9083 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/0.3035, allocations: 101 kB / 0.9084 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.3037, allocations: 60.38 kB / 0.9085 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.3058, allocations: 0.6081 MB / 0.9091 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.3058, allocations: 3.938 kB / 0.9091 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.329e-05/0.3059, allocations: 28 kB / 0.9091 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.306, allocations: 12 kB / 0.9091 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.3076, allocations: 435.7 kB / 0.9095 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004162/0.3118, allocations: 2.129 MB / 0.9116 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.3137, allocations: 0.5185 MB / 0.9121 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007834/0.3146, allocations: 224.7 kB / 0.9123 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.264e-05/0.3147, allocations: 13.05 kB / 0.9123 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.3157, allocations: 297.9 kB / 0.9126 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=45): time 4.088e-06/0.3157, allocations: 0 / 0.9126 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.002349/0.3181, allocations: 0.6385 MB / 0.9132 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.3182, allocations: 84.86 kB / 0.9133 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009331/0.3191, allocations: 0.6178 MB / 0.9139 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.3192, allocations: 33.69 kB / 0.914 GB, free: 50.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.3195, allocations: 360.9 kB / 0.9143 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.3197, allocations: 157.7 kB / 0.9145 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.3198, allocations: 12 kB / 0.9145 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.269e-05/0.3198, allocations: 325.9 kB / 0.9148 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000732/0.3206, allocations: 181 kB / 0.9149 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007657/0.3214, allocations: 288.2 kB / 0.9152 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008201/0.3222, allocations: 238.4 kB / 0.9155 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/0.3222, allocations: 3.938 kB / 0.9155 GB, free: 48.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001909/0.3242, allocations: 0.6139 MB / 0.9161 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.3243, allocations: 185.3 kB / 0.9162 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.3243, allocations: 4 kB / 0.9162 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.3243, allocations: 4 kB / 0.9162 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008766/0.3252, allocations: 115.8 kB / 0.9163 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.3253, allocations: 8 kB / 0.9164 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007194/0.326, allocations: 67.41 kB / 0.9164 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/0.3261, allocations: 20 kB / 0.9164 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3261, allocations: 11.94 kB / 0.9165 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001567/0.3277, allocations: 0.4998 MB / 0.9169 GB, free: 47.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3277, allocations: 4 kB / 0.9169 GB, free: 47.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/0.3277, allocations: 4 kB / 0.9169 GB, free: 47.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000808/0.3286, allocations: 103.8 kB / 0.917 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.3286, allocations: 7.984 kB / 0.9171 GB, free: 46.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006695/0.3293, allocations: 63.77 kB / 0.9171 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.825e-05/0.3293, allocations: 16 kB / 0.9171 GB, free: 46.89 MB / 0.6042 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004162/0.3297, allocations: 280.9 kB / 0.9174 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.3299, allocations: 75 kB / 0.9175 GB, free: 46.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.3301, allocations: 79.34 kB / 0.9175 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.3301, allocations: 4 kB / 0.9175 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.3301, allocations: 0 / 0.9175 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.3302, allocations: 7.984 kB / 0.9176 GB, free: 46.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007988/0.331, allocations: 0.6219 MB / 0.9182 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.331, allocations: 3.938 kB / 0.9182 GB, free: 45.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000877/0.3319, allocations: 87.88 kB / 0.9183 GB, free: 45.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.3319, allocations: 7.938 kB / 0.9183 GB, free: 45.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.332, allocations: 8 kB / 0.9183 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.332, allocations: 4 kB / 0.9183 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.332, allocations: 3.938 kB / 0.9183 GB, free: 45.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.3345, allocations: 0.7512 MB / 0.919 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/0.3349, allocations: 200 kB / 0.9192 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.335, allocations: 12 kB / 0.9192 GB, free: 44.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007474/0.3358, allocations: 43.95 kB / 0.9193 GB, free: 44.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.3359, allocations: 31.95 kB / 0.9193 GB, free: 44.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/0.336, allocations: 15.98 kB / 0.9193 GB, free: 44.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007432/0.3367, allocations: 431 kB / 0.9197 GB, free: 44.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.21e-07/0.3368, allocations: 0 / 0.9197 GB, free: 44.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009696/0.3377, allocations: 215.4 kB / 0.9199 GB, free: 43.94 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002144/0.338, allocations: 107.2 kB / 0.92 GB, free: 43.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002554/0.3405, allocations: 0.8088 MB / 0.9208 GB, free: 43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.3406, allocations: 0 / 0.9208 GB, free: 43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007898/0.3414, allocations: 223.9 kB / 0.921 GB, free: 42.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.343, allocations: 188.2 kB / 0.9212 GB, free: 42.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.346, allocations: 1.392 MB / 0.9226 GB, free: 41.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.3465, allocations: 0.9183 MB / 0.9235 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006973/0.3472, allocations: 93.33 kB / 0.9235 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.3474, allocations: 47.44 kB / 0.9236 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of SimCode: time 1.913e-06/0.3474, allocations: 0 / 0.9236 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.01991/0.3673, allocations: 6.904 MB / 0.9303 GB, free: 33.27 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)