Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.251/2.251, allocations: 251.1 MB / 266.7 MB, free: 11.58 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001327/0.001327, allocations: 172 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.479/2.479, allocations: 205.4 MB / 0.5772 GB, free: 21.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001328/0.001328, allocations: 81.56 kB / 0.6817 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006916/0.0006918, allocations: 20.25 kB / 0.7957 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2837, allocations: 106.3 MB / 0.8995 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005951/0.2897, allocations: 3.548 MB / 0.903 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003394/0.2932, allocations: 1.294 MB / 0.9042 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008315/0.2941, allocations: 23.88 kB / 0.9042 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004074/0.2945, allocations: 83.22 kB / 0.9043 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006701/0.2952, allocations: 142.8 kB / 0.9045 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.2969, allocations: 280.8 kB / 0.9047 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001362/0.2983, allocations: 0.8461 MB / 0.9056 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007458/0.2991, allocations: 387.5 kB / 0.9059 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003849/0.2995, allocations: 230.9 kB / 0.9061 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.2998, allocations: 246.5 kB / 0.9064 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.686e-05/0.2999, allocations: 20 kB / 0.9064 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.792e-05/0.3, allocations: 24 kB / 0.9064 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.259e-05/0.3001, allocations: 91.55 kB / 0.9065 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.3003, allocations: 157.3 kB / 0.9067 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008524/0.3011, allocations: 0.8025 MB / 0.9074 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3012, allocations: 0 / 0.9074 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3012, allocations: 0 / 0.9074 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.3012, allocations: 0 / 0.9074 GB, free: 57.81 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002299/0.3035, allocations: 0.9601 MB / 0.9084 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.3036, allocations: 12.03 kB / 0.9084 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.3038, allocations: 87.91 kB / 0.9085 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.3049, allocations: 0.5342 MB / 0.909 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/0.3049, allocations: 45.69 kB / 0.909 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.3051, allocations: 52.38 kB / 0.9091 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.3066, allocations: 0.6156 MB / 0.9097 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.3066, allocations: 3.906 kB / 0.9097 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.85e-05/0.3067, allocations: 28 kB / 0.9097 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.3068, allocations: 16 kB / 0.9097 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.3083, allocations: 472.9 kB / 0.9102 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003883/0.3122, allocations: 2.016 MB / 0.9122 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.3136, allocations: 453 kB / 0.9126 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006869/0.3143, allocations: 246.1 kB / 0.9128 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.35e-05/0.3144, allocations: 8.422 kB / 0.9128 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007995/0.3152, allocations: 269.2 kB / 0.9131 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=49): time 4.799e-06/0.3152, allocations: 0 / 0.9131 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49): time 0.002005/0.3173, allocations: 0.596 MB / 0.9137 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.3173, allocations: 55.84 kB / 0.9137 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006366/0.318, allocations: 442 kB / 0.9141 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.211e-05/0.318, allocations: 37.7 kB / 0.9142 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.3183, allocations: 328.9 kB / 0.9145 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.3184, allocations: 165.6 kB / 0.9146 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.3185, allocations: 12 kB / 0.9147 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3186, allocations: 362.8 kB / 0.915 GB, free: 49.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006061/0.3192, allocations: 169 kB / 0.9152 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006623/0.3199, allocations: 253.8 kB / 0.9154 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006705/0.3206, allocations: 223.8 kB / 0.9156 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3206, allocations: 4 kB / 0.9156 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001595/0.3222, allocations: 0.5624 MB / 0.9162 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/0.3223, allocations: 41.62 kB / 0.9162 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.3223, allocations: 0 / 0.9162 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.3223, allocations: 4.25 kB / 0.9162 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008725/0.3232, allocations: 123.8 kB / 0.9163 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.3232, allocations: 4 kB / 0.9163 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006545/0.3239, allocations: 63.5 kB / 0.9164 GB, free: 48.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/0.324, allocations: 20 kB / 0.9164 GB, free: 48.29 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0003852/0.3244, allocations: 209.7 kB / 0.9166 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.624e-05/0.3245, allocations: 63.27 kB / 0.9167 GB, free: 48.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.3246, allocations: 61.59 kB / 0.9167 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.3246, allocations: 3.984 kB / 0.9167 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3246, allocations: 0 / 0.9167 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.3249, allocations: 176.2 kB / 0.9169 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.863e-05/0.325, allocations: 12 kB / 0.9169 GB, free: 47.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004811/0.3255, allocations: 35.97 kB / 0.917 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.3256, allocations: 36.38 kB / 0.917 GB, free: 47.67 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002068/0.3277, allocations: 0.5739 MB / 0.9176 GB, free: 47.09 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00206/0.3298, allocations: 0.8608 MB / 0.9184 GB, free: 46.21 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006054/0.3304, allocations: 215.4 kB / 0.9186 GB, free: 46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004473/0.3309, allocations: 302.9 kB / 0.9189 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of Backend: time 6.21e-07/0.3309, allocations: 3.938 kB / 0.9189 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001353/0.3322, allocations: 421.3 kB / 0.9193 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of SimCode: time 0.003128/0.3354, allocations: 1.973 MB / 0.9212 GB, free: 43.25 MB / 0.6042 GB Notification: Performance of Templates: time 0.01742/0.3529, allocations: 6.255 MB / 0.9273 GB, free: 37.06 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)