Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 110.2 kB / 16.38 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 195.7 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.786/1.786, allocations: 292.3 MB / 0.5496 GB, free: 17.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 68.28 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2268, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.429/0.6559, allocations: 4.13 MB / 0.7888 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002768/0.6587, allocations: 1.361 MB / 0.7902 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003891/0.6591, allocations: 26.22 kB / 0.7902 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.6596, allocations: 124.4 kB / 0.7903 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003611/0.6599, allocations: 173.8 kB / 0.7905 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008611/0.6608, allocations: 425.8 kB / 0.7909 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008901/0.6617, allocations: 0.957 MB / 0.7918 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000584/0.6623, allocations: 459.5 kB / 0.7922 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003404/0.6627, allocations: 324.8 kB / 0.7926 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.6629, allocations: 335.7 kB / 0.7929 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.6631, allocations: 92.31 kB / 0.793 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.328e-05/0.6632, allocations: 89.09 kB / 0.793 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.6633, allocations: 180.7 kB / 0.7932 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.6636, allocations: 392.6 kB / 0.7936 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007426/0.6643, allocations: 1.065 MB / 0.7946 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6643, allocations: 0 / 0.7946 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6643, allocations: 0 / 0.7946 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.6643, allocations: 0 / 0.7946 GB, free: 45.95 MB / 0.6544 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.001616/0.666, allocations: 1.075 MB / 0.7957 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.666, allocations: 10.25 kB / 0.7957 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.6661, allocations: 82.06 kB / 0.7958 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008215/0.667, allocations: 0.5665 MB / 0.7963 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.667, allocations: 43.62 kB / 0.7964 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.092e-05/0.6671, allocations: 58.94 kB / 0.7964 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009203/0.668, allocations: 0.6114 MB / 0.797 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.6681, allocations: 7.188 kB / 0.797 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.839e-05/0.6681, allocations: 24.19 kB / 0.797 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.6681, allocations: 14.34 kB / 0.7971 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008306/0.669, allocations: 459.7 kB / 0.7975 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002515/0.6715, allocations: 1.999 MB / 0.7995 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008711/0.6724, allocations: 443.1 kB / 0.7999 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004092/0.6728, allocations: 235.9 kB / 0.8001 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.19e-05/0.6729, allocations: 12.98 kB / 0.8001 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005377/0.6734, allocations: 263.6 kB / 0.8004 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 2.515e-06/0.6734, allocations: 0 / 0.8004 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001309/0.6747, allocations: 0.5763 MB / 0.8009 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.6748, allocations: 64.73 kB / 0.801 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/0.6752, allocations: 438.9 kB / 0.8014 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.6753, allocations: 38.55 kB / 0.8014 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.6755, allocations: 328.1 kB / 0.8018 GB, free: 42 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.6756, allocations: 164 kB / 0.8019 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.6757, allocations: 94.05 kB / 0.802 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.6759, allocations: 361.5 kB / 0.8023 GB, free: 41.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.6762, allocations: 169.8 kB / 0.8025 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/0.6767, allocations: 251 kB / 0.8027 GB, free: 41.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007692/0.6774, allocations: 454.3 kB / 0.8032 GB, free: 41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.6775, allocations: 0 / 0.8032 GB, free: 41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00114/0.6786, allocations: 0.5607 MB / 0.8037 GB, free: 40.74 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/0.6787, allocations: 41.92 kB / 0.8038 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.6787, allocations: 1.125 kB / 0.8038 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.6787, allocations: 5.594 kB / 0.8038 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/0.6792, allocations: 115.7 kB / 0.8039 GB, free: 40.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.6793, allocations: 5.969 kB / 0.8039 GB, free: 40.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.6796, allocations: 55.22 kB / 0.8039 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/0.6797, allocations: 19.3 kB / 0.804 GB, free: 40.65 MB / 0.6544 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$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.00022/0.6799, allocations: 212.3 kB / 0.8042 GB, free: 40.47 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.19e-05/0.68, allocations: 59.88 kB / 0.8042 GB, free: 40.44 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.6801, allocations: 61.73 kB / 0.8043 GB, free: 40.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.6801, allocations: 3.328 kB / 0.8043 GB, free: 40.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6801, allocations: 0 / 0.8043 GB, free: 40.4 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.6803, allocations: 171.9 kB / 0.8044 GB, free: 40.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.6804, allocations: 15.45 kB / 0.8045 GB, free: 40.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.6806, allocations: 30.5 kB / 0.8045 GB, free: 40.22 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.6807, allocations: 32.67 kB / 0.8045 GB, free: 40.22 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001313/0.6821, allocations: 0.556 MB / 0.8051 GB, free: 39.95 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001429/0.6835, allocations: 0.8461 MB / 0.8059 GB, free: 39.47 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000426/0.6839, allocations: 204.8 kB / 0.8061 GB, free: 39.39 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003695/0.6843, allocations: 313.2 kB / 0.8064 GB, free: 39.24 MB / 0.6544 GB Notification: Performance of Backend: time 5.21e-07/0.6843, allocations: 0 / 0.8064 GB, free: 39.24 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009858/0.6853, allocations: 417.5 kB / 0.8068 GB, free: 39.01 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002371/0.6877, allocations: 1.696 MB / 0.8084 GB, free: 37.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.01562/0.7033, allocations: 6.978 MB / 0.8153 GB, free: 37.44 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)