Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001127/0.001128, 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.00126/0.00126, allocations: 194.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.02 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3189, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004659/0.3236, allocations: 3.715 MB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002371/0.326, allocations: 1.34 MB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004907/0.3265, allocations: 23.88 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004158/0.3269, allocations: 130.6 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006201/0.3276, allocations: 170.5 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.3288, allocations: 0.576 MB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00099/0.3298, allocations: 0.9565 MB / 1.075 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006017/0.3304, allocations: 349.6 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004404/0.3309, allocations: 358.5 kB / 1.076 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000407/0.3313, allocations: 354 kB / 1.076 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.3314, allocations: 76 kB / 1.076 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.3316, allocations: 83.94 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.3317, allocations: 179.3 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003028/0.332, allocations: 377.7 kB / 1.077 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007503/0.3328, allocations: 0.8605 MB / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3328, allocations: 0 / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3328, allocations: 0 / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.3328, allocations: 4 kB / 1.077 GB, free: 0.8867 MB / 0.8262 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.001941/0.3348, allocations: 1.179 MB / 1.079 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3348, allocations: 12.02 kB / 1.079 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.335, allocations: 99.81 kB / 1.079 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008688/0.3359, allocations: 0.5948 MB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.336, allocations: 92.97 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.336, allocations: 64.3 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.3371, allocations: 0.5964 MB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3371, allocations: 0 / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.515e-05/0.3372, allocations: 27.98 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.3372, allocations: 12 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009457/0.3381, allocations: 427.6 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002653/0.3408, allocations: 2.106 MB / 1.083 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.342, allocations: 0.4926 MB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004572/0.3425, allocations: 230.5 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.3425, allocations: 4 kB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006813/0.3432, allocations: 274.2 kB / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 2.044e-06/0.3432, allocations: 0 / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001473/0.3447, allocations: 0.6178 MB / 1.084 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.3447, allocations: 88.8 kB / 1.084 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000657/0.3454, allocations: 0.614 MB / 1.085 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.3455, allocations: 37.7 kB / 1.085 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.3457, allocations: 356.7 kB / 1.085 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.3458, allocations: 157.7 kB / 1.085 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.346, allocations: 102.2 kB / 1.085 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3461, allocations: 326 kB / 1.086 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/0.3466, allocations: 179 kB / 1.086 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/0.3471, allocations: 276.2 kB / 1.086 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009235/0.348, allocations: 477.9 kB / 1.087 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.348, allocations: 7.938 kB / 1.087 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001179/0.3492, allocations: 0.5944 MB / 1.087 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.3492, allocations: 37.69 kB / 1.087 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3492, allocations: 4 kB / 1.087 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3493, allocations: 4 kB / 1.087 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004855/0.3498, allocations: 108.1 kB / 1.087 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.3498, allocations: 8 kB / 1.087 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000394/0.3502, allocations: 63.5 kB / 1.087 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.3502, allocations: 16 kB / 1.087 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005398/0.3508, allocations: 313.1 kB / 1.088 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004431/0.3512, allocations: 268.2 kB / 1.088 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008267/0.3521, allocations: 450 kB / 1.088 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.924e-06/0.3521, allocations: 0 / 1.088 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001055/0.3531, allocations: 0.5827 MB / 1.089 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.3532, allocations: 33.7 kB / 1.089 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3532, allocations: 4 kB / 1.089 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.48e-06/0.3532, allocations: 7.938 kB / 1.089 GB, free: 4.527 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.3536, allocations: 107.8 kB / 1.089 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3537, allocations: 4 kB / 1.089 GB, free: 4.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/0.354, allocations: 47.58 kB / 1.089 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.3541, allocations: 24.14 kB / 1.089 GB, free: 4.348 MB / 0.8419 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.0001577/0.3542, allocations: 224 kB / 1.089 GB, free: 4.121 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.644e-05/0.3543, allocations: 71.16 kB / 1.089 GB, free: 4.051 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.3545, allocations: 79.16 kB / 1.09 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3545, allocations: 4 kB / 1.09 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3545, allocations: 4 kB / 1.09 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.3545, allocations: 7.984 kB / 1.09 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006198/0.3551, allocations: 0.618 MB / 1.09 GB, free: 3.285 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3552, allocations: 4 kB / 1.09 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.3556, allocations: 83.88 kB / 1.09 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3556, allocations: 4 kB / 1.09 GB, free: 3.195 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.3557, allocations: 8 kB / 1.09 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3557, allocations: 4 kB / 1.09 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3557, allocations: 0 / 1.09 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.3571, allocations: 0.7327 MB / 1.091 GB, free: 2.434 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.3574, allocations: 192 kB / 1.091 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.32e-05/0.3574, allocations: 4 kB / 1.091 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004065/0.3578, allocations: 43.95 kB / 1.091 GB, free: 2.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/0.3579, allocations: 31.95 kB / 1.091 GB, free: 2.148 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/0.358, allocations: 15.98 kB / 1.091 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004419/0.3584, allocations: 427.1 kB / 1.092 GB, free: 1.723 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3584, allocations: 0 / 1.092 GB, free: 1.723 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005624/0.359, allocations: 219.4 kB / 1.092 GB, free: 1.508 MB / 0.8419 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.0001253/0.3591, allocations: 107.7 kB / 1.092 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00166/0.3608, allocations: 0.8089 MB / 1.093 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3608, allocations: 4 kB / 1.093 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004582/0.3613, allocations: 207.8 kB / 1.093 GB, free: 364 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008852/0.3622, allocations: 216.4 kB / 1.093 GB, free: 156 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.3641, allocations: 1.199 MB / 1.094 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.3645, allocations: 0.918 MB / 1.095 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003577/0.3649, allocations: 93.11 kB / 1.095 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.365, allocations: 47.44 kB / 1.095 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of SimCode: time 2.7e-07/0.365, allocations: 0 / 1.095 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of Templates: time 0.01305/0.3781, allocations: 7.568 MB / 1.103 GB, free: 6.363 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)