Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.253/2.253, allocations: 391.2 MB / 407 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 183.4 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 110.5 kB / 0.9329 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 49.11 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2963, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005072/0.3014, allocations: 3.72 MB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002859/0.3043, allocations: 1.297 MB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008791/0.3052, allocations: 27.81 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005181/0.3058, allocations: 95.16 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.3069, allocations: 139 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.3086, allocations: 0.5277 MB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.00143/0.3101, allocations: 0.9096 MB / 1.225 GB, free: 110.6 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006364/0.3107, allocations: 345.5 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004812/0.3112, allocations: 318.3 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003376/0.3116, allocations: 330.1 kB / 1.226 GB, free: 109.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 8.84e-05/0.3117, allocations: 36 kB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.581e-05/0.3118, allocations: 36 kB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.3119, allocations: 143.2 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.3122, allocations: 337.7 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006085/0.3128, allocations: 0.8194 MB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3128, allocations: 0 / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3128, allocations: 0 / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.3128, allocations: 0 / 1.227 GB, free: 108.2 MB / 0.823 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.002269/0.3151, allocations: 1.18 MB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.3152, allocations: 11.98 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.3153, allocations: 91.81 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009342/0.3163, allocations: 0.5986 MB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.3164, allocations: 105 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.099e-05/0.3165, allocations: 52.38 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009863/0.3175, allocations: 0.6042 MB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.3175, allocations: 3.938 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-05/0.3176, allocations: 20 kB / 1.23 GB, free: 105.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.3176, allocations: 12 kB / 1.23 GB, free: 105.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000826/0.3184, allocations: 427.6 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.3208, allocations: 2.11 MB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.3219, allocations: 0.5089 MB / 1.232 GB, free: 102.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003824/0.3222, allocations: 208.8 kB / 1.233 GB, free: 102 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.042e-05/0.3223, allocations: 8 kB / 1.233 GB, free: 102 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000641/0.3229, allocations: 285.9 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 2.385e-06/0.323, allocations: 0 / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.001253/0.3242, allocations: 0.6148 MB / 1.234 GB, free: 101.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.3243, allocations: 88.86 kB / 1.234 GB, free: 101 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005195/0.3248, allocations: 0.6138 MB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.3248, allocations: 37.7 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.325, allocations: 352.9 kB / 1.235 GB, free: 100 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.209e-05/0.3251, allocations: 153.8 kB / 1.235 GB, free: 99.85 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.3252, allocations: 98.14 kB / 1.235 GB, free: 99.75 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.461e-05/0.3253, allocations: 326 kB / 1.235 GB, free: 99.43 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.3257, allocations: 187 kB / 1.235 GB, free: 99.24 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.3261, allocations: 280.2 kB / 1.236 GB, free: 98.93 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007433/0.3268, allocations: 474 kB / 1.236 GB, free: 98.43 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3269, allocations: 3.938 kB / 1.236 GB, free: 98.43 MB / 0.823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.000974/0.3278, allocations: 0.6021 MB / 1.237 GB, free: 97.81 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.3279, allocations: 30.95 kB / 1.237 GB, free: 97.78 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.3279, allocations: 4 kB / 1.237 GB, free: 97.77 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3279, allocations: 5.094 kB / 1.237 GB, free: 97.77 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.3283, allocations: 103.9 kB / 1.237 GB, free: 97.67 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.3284, allocations: 11.94 kB / 1.237 GB, free: 97.66 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.3287, allocations: 63.75 kB / 1.237 GB, free: 97.59 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.449e-05/0.3288, allocations: 23.98 kB / 1.237 GB, free: 97.57 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004499/0.3292, allocations: 305.2 kB / 1.237 GB, free: 97.27 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003594/0.3296, allocations: 268.3 kB / 1.237 GB, free: 96.97 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006549/0.3303, allocations: 453.8 kB / 1.238 GB, free: 96.49 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.3303, allocations: 8 kB / 1.238 GB, free: 96.48 MB / 0.823 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0008616/0.3311, allocations: 0.5708 MB / 1.238 GB, free: 95.89 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.3312, allocations: 34.02 kB / 1.238 GB, free: 95.86 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3312, allocations: 7.984 kB / 1.238 GB, free: 95.85 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.811e-06/0.3312, allocations: 8 kB / 1.238 GB, free: 95.84 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.3316, allocations: 99.83 kB / 1.239 GB, free: 95.74 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.341e-06/0.3316, allocations: 4 kB / 1.239 GB, free: 95.74 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.3319, allocations: 63.5 kB / 1.239 GB, free: 95.68 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.332, allocations: 16 kB / 1.239 GB, free: 95.66 MB / 0.823 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.0001497/0.3321, allocations: 227 kB / 1.239 GB, free: 95.43 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.869e-05/0.3322, allocations: 67.16 kB / 1.239 GB, free: 95.37 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.3324, allocations: 87.14 kB / 1.239 GB, free: 95.28 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3324, allocations: 4 kB / 1.239 GB, free: 95.27 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.3324, allocations: 0 / 1.239 GB, free: 95.27 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3324, allocations: 0 / 1.239 GB, free: 95.27 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.3329, allocations: 0.6296 MB / 1.24 GB, free: 94.59 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.333, allocations: 0 / 1.24 GB, free: 94.59 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/0.3334, allocations: 83.89 kB / 1.24 GB, free: 94.51 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.3334, allocations: 7.938 kB / 1.24 GB, free: 94.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.3334, allocations: 11.98 kB / 1.24 GB, free: 94.49 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3334, allocations: 0 / 1.24 GB, free: 94.49 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3334, allocations: 4 kB / 1.24 GB, free: 94.49 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006275/0.3397, allocations: 4.338 MB / 1.244 GB, free: 90 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.3399, allocations: 188.1 kB / 1.244 GB, free: 89.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.828e-05/0.34, allocations: 15.92 kB / 1.244 GB, free: 89.78 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003598/0.3403, allocations: 39.97 kB / 1.244 GB, free: 89.74 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.854e-05/0.3404, allocations: 27.95 kB / 1.244 GB, free: 89.71 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.3405, allocations: 19.98 kB / 1.244 GB, free: 89.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003862/0.3409, allocations: 427 kB / 1.245 GB, free: 89.28 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3409, allocations: 3.938 kB / 1.245 GB, free: 89.28 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008399/0.3417, allocations: 299.4 kB / 1.245 GB, free: 88.98 MB / 0.823 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.0001317/0.3419, allocations: 111.2 kB / 1.245 GB, free: 88.87 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.3433, allocations: 0.7931 MB / 1.246 GB, free: 88.05 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3433, allocations: 0 / 1.246 GB, free: 88.05 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004283/0.3437, allocations: 215.5 kB / 1.246 GB, free: 87.84 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008573/0.3446, allocations: 203.2 kB / 1.246 GB, free: 87.64 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.3467, allocations: 1.736 MB / 1.248 GB, free: 85.86 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.347, allocations: 0.9224 MB / 1.249 GB, free: 84.91 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0004097/0.3474, allocations: 105.1 kB / 1.249 GB, free: 84.81 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.3476, allocations: 55.44 kB / 1.249 GB, free: 84.75 MB / 0.823 GB Notification: Performance of SimCode: time 5.51e-07/0.3476, allocations: 0 / 1.249 GB, free: 84.75 MB / 0.823 GB Notification: Performance of Templates: time 0.01346/0.3611, allocations: 8.351 MB / 1.257 GB, free: 76.49 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)