Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002871/0.002871, allocations: 212.9 kB / 23.02 MB, free: 2.949 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.766/1.766, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.517/3.517, allocations: 0.5045 GB / 0.8104 GB, free: 2.773 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.004012/0.004012, allocations: 67.89 kB / 1.177 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9566/0.9606, allocations: 180 MB / 1.353 GB, free: 1.605 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006622/0.9672, allocations: 3.768 MB / 1.357 GB, free: 13.82 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.003672/0.9709, allocations: 1.313 MB / 1.358 GB, free: 12.5 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005155/0.9714, allocations: 31.81 kB / 1.358 GB, free: 12.47 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.000456/0.9718, allocations: 130.7 kB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004454/0.9723, allocations: 186.4 kB / 1.358 GB, free: 12.16 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.9733, allocations: 424.9 kB / 1.359 GB, free: 11.75 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.001214/0.9745, allocations: 0.9553 MB / 1.359 GB, free: 10.79 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005714/0.9751, allocations: 293.5 kB / 1.36 GB, free: 10.48 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004557/0.9756, allocations: 342.7 kB / 1.36 GB, free: 10.15 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004064/0.976, allocations: 290.4 kB / 1.36 GB, free: 9.863 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.9761, allocations: 95.94 kB / 1.36 GB, free: 9.77 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.9762, allocations: 88 kB / 1.361 GB, free: 9.684 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004473/0.9767, allocations: 175.4 kB / 1.361 GB, free: 9.512 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003591/0.9771, allocations: 318.4 kB / 1.361 GB, free: 9.199 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.9783, allocations: 1.07 MB / 1.362 GB, free: 8.125 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.9783, allocations: 4 kB / 1.362 GB, free: 8.121 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9783, allocations: 0 / 1.362 GB, free: 8.121 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.9783, allocations: 0 / 1.362 GB, free: 8.121 MB / 1.042 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.002091/0.9804, allocations: 1.076 MB / 1.363 GB, free: 7 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.9805, allocations: 12.88 kB / 1.363 GB, free: 6.988 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.9806, allocations: 88.38 kB / 1.363 GB, free: 6.902 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009967/0.9816, allocations: 0.5037 MB / 1.364 GB, free: 6.375 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.022e-05/0.9817, allocations: 49.62 kB / 1.364 GB, free: 6.328 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.9818, allocations: 60.38 kB / 1.364 GB, free: 6.27 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.983, allocations: 0.658 MB / 1.364 GB, free: 5.574 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.9831, allocations: 8 kB / 1.364 GB, free: 5.566 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.874e-05/0.9831, allocations: 20 kB / 1.364 GB, free: 5.547 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.9831, allocations: 16 kB / 1.365 GB, free: 5.531 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.9842, allocations: 453 kB / 1.365 GB, free: 5.09 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003043/0.9873, allocations: 1.702 MB / 1.367 GB, free: 3.332 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.9883, allocations: 430 kB / 1.367 GB, free: 2.902 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005021/0.9888, allocations: 226.5 kB / 1.367 GB, free: 2.68 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.9888, allocations: 8.438 kB / 1.367 GB, free: 2.672 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000624/0.9894, allocations: 257.4 kB / 1.367 GB, free: 2.41 MB / 1.042 GB Notification: Performance of pre-optimization done (n=49): time 2.545e-06/0.9894, allocations: 0 / 1.367 GB, free: 2.41 MB / 1.042 GB Notification: Performance of matching and sorting (n=49): time 0.001685/0.9911, allocations: 0.5924 MB / 1.368 GB, free: 1.809 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.9912, allocations: 59.84 kB / 1.368 GB, free: 1.738 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005838/0.9918, allocations: 429.9 kB / 1.369 GB, free: 1.312 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.9918, allocations: 33.7 kB / 1.369 GB, free: 1.273 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/0.9921, allocations: 332.8 kB / 1.369 GB, free: 0.9453 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.9923, allocations: 174.5 kB / 1.369 GB, free: 0.7734 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.9925, allocations: 102.3 kB / 1.369 GB, free: 0.6641 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002352/0.9927, allocations: 362.8 kB / 1.369 GB, free: 308 kB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/0.9932, allocations: 190.9 kB / 1.37 GB, free: 112 kB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000539/0.9937, allocations: 280.5 kB / 1.37 GB, free: 15.8 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009208/0.9946, allocations: 451 kB / 1.37 GB, free: 15.32 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.9946, allocations: 0 / 1.37 GB, free: 15.32 MB / 1.057 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001232/0.9959, allocations: 0.5902 MB / 1.371 GB, free: 14.72 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 5.269e-05/0.9959, allocations: 33.7 kB / 1.371 GB, free: 14.68 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.9959, allocations: 3.938 kB / 1.371 GB, free: 14.68 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.9959, allocations: 11.94 kB / 1.371 GB, free: 14.66 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005348/0.9965, allocations: 107.9 kB / 1.371 GB, free: 14.56 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/0.9965, allocations: 12.17 kB / 1.371 GB, free: 14.55 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.9968, allocations: 59.66 kB / 1.371 GB, free: 14.49 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.985e-05/0.9969, allocations: 19.94 kB / 1.371 GB, free: 14.47 MB / 1.057 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 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003015/0.9972, allocations: 209.8 kB / 1.371 GB, free: 14.25 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.079e-05/0.9973, allocations: 59.62 kB / 1.371 GB, free: 14.2 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001727/0.9974, allocations: 65.39 kB / 1.371 GB, free: 14.13 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.9974, allocations: 4 kB / 1.371 GB, free: 14.12 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.9974, allocations: 3.984 kB / 1.372 GB, free: 14.12 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.9975, allocations: 4 kB / 1.372 GB, free: 14.12 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.9994, allocations: 0.9983 MB / 1.372 GB, free: 13.08 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.9994, allocations: 3.938 kB / 1.372 GB, free: 13.08 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005096/0.9999, allocations: 91.89 kB / 1.373 GB, free: 12.99 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.9999, allocations: 7.984 kB / 1.373 GB, free: 12.98 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/1, allocations: 8 kB / 1.373 GB, free: 12.97 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/1, allocations: 4 kB / 1.373 GB, free: 12.97 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1, allocations: 7.984 kB / 1.373 GB, free: 12.96 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/1.001, allocations: 0.7613 MB / 1.373 GB, free: 12.18 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/1.002, allocations: 95.45 kB / 1.373 GB, free: 12.09 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.298e-05/1.002, allocations: 12 kB / 1.373 GB, free: 12.08 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/1.002, allocations: 27.97 kB / 1.373 GB, free: 12.05 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/1.002, allocations: 36.38 kB / 1.374 GB, free: 12.02 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/1.002, allocations: 15.98 kB / 1.374 GB, free: 12 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0003996/1.003, allocations: 295.1 kB / 1.374 GB, free: 11.71 MB / 1.057 GB Notification: Performance of sort global known variables: time 6e-08/1.003, allocations: 0 / 1.374 GB, free: 11.71 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.000508/1.003, allocations: 147.6 kB / 1.374 GB, free: 11.57 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.000164/1.003, allocations: 111.9 kB / 1.374 GB, free: 11.45 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001074/1.004, allocations: 490.3 kB / 1.375 GB, free: 10.96 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.004, allocations: 0 / 1.375 GB, free: 10.96 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.000541/1.005, allocations: 202.4 kB / 1.375 GB, free: 10.76 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007814/1.006, allocations: 160.1 kB / 1.375 GB, free: 10.61 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/1.009, allocations: 1.345 MB / 1.376 GB, free: 9.234 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/1.009, allocations: 300.7 kB / 1.376 GB, free: 8.914 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0002751/1.009, allocations: 52.55 kB / 1.377 GB, free: 8.859 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/1.009, allocations: 51.42 kB / 1.377 GB, free: 8.809 MB / 1.057 GB Notification: Performance of SimCode: time 8.81e-07/1.009, allocations: 0 / 1.377 GB, free: 8.809 MB / 1.057 GB Notification: Performance of Templates: time 0.01472/1.024, allocations: 6.53 MB / 1.383 GB, free: 2.43 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.563206523656845]