Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.666/1.666, allocations: 287.4 MB / 303.2 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 184.3 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000888/0.000888, allocations: 94.3 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003934, allocations: 14.52 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2242, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004319/0.2286, allocations: 3.536 MB / 0.9827 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00304/0.2317, allocations: 1.283 MB / 0.984 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.2327, allocations: 23.88 kB / 0.984 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005109/0.2333, allocations: 87.2 kB / 0.9841 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000586/0.2339, allocations: 134.8 kB / 0.9842 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009703/0.2349, allocations: 283.7 kB / 0.9845 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001045/0.2359, allocations: 0.8461 MB / 0.9853 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006238/0.2366, allocations: 430.4 kB / 0.9857 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003718/0.2369, allocations: 218.8 kB / 0.9859 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.2372, allocations: 250.6 kB / 0.9862 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.173e-05/0.2373, allocations: 24 kB / 0.9862 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.171e-05/0.2374, allocations: 24 kB / 0.9862 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.369e-05/0.2375, allocations: 95.48 kB / 0.9863 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.2377, allocations: 149.3 kB / 0.9864 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005527/0.2382, allocations: 0.8103 MB / 0.9872 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2382, allocations: 0 / 0.9872 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2382, allocations: 0 / 0.9872 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.276e-05/0.2383, allocations: 7.875 kB / 0.9872 GB, free: 19.97 MB / 0.6198 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.001744/0.24, allocations: 0.9523 MB / 0.9882 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.2401, allocations: 8.031 kB / 0.9882 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.2403, allocations: 84 kB / 0.9883 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007675/0.2411, allocations: 0.5494 MB / 0.9888 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/0.2411, allocations: 45.69 kB / 0.9888 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-05/0.2412, allocations: 64.28 kB / 0.9889 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.2424, allocations: 0.604 MB / 0.9895 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.2424, allocations: 0 / 0.9895 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.876e-05/0.2425, allocations: 31.88 kB / 0.9895 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.2425, allocations: 16 kB / 0.9895 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009594/0.2434, allocations: 461 kB / 0.99 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002569/0.246, allocations: 2.024 MB / 0.992 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000776/0.2468, allocations: 457.4 kB / 0.9924 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.2472, allocations: 242.1 kB / 0.9926 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.2473, allocations: 4.438 kB / 0.9926 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005232/0.2478, allocations: 273.2 kB / 0.9929 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 2.836e-06/0.2478, allocations: 0 / 0.9929 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.001124/0.2489, allocations: 0.5964 MB / 0.9935 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.249, allocations: 55.84 kB / 0.9935 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004096/0.2494, allocations: 445.9 kB / 0.9939 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.2494, allocations: 37.69 kB / 0.994 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.2496, allocations: 324.3 kB / 0.9943 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.837e-05/0.2497, allocations: 169.6 kB / 0.9945 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.2497, allocations: 8 kB / 0.9945 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.484e-05/0.2498, allocations: 362.8 kB / 0.9948 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.2501, allocations: 169 kB / 0.995 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.2505, allocations: 253.8 kB / 0.9952 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000694/0.2512, allocations: 468 kB / 0.9957 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2512, allocations: 0 / 0.9957 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009474/0.2522, allocations: 0.5702 MB / 0.9962 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/0.2522, allocations: 37.64 kB / 0.9962 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2522, allocations: 0 / 0.9962 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.2523, allocations: 4 kB / 0.9963 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/0.2527, allocations: 115.8 kB / 0.9964 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.2527, allocations: 4.25 kB / 0.9964 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/0.2531, allocations: 79.41 kB / 0.9964 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.2531, allocations: 20 kB / 0.9965 GB, free: 10.19 MB / 0.6198 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.0002198/0.2534, allocations: 209.7 kB / 0.9967 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.2534, allocations: 59.28 kB / 0.9967 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.2536, allocations: 65.53 kB / 0.9968 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.2536, allocations: 7.922 kB / 0.9968 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2536, allocations: 0 / 0.9968 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.2537, allocations: 172.3 kB / 0.997 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.65e-05/0.2538, allocations: 12 kB / 0.997 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.2541, allocations: 31.97 kB / 0.997 GB, free: 9.613 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.89e-05/0.2542, allocations: 40.38 kB / 0.997 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001186/0.2554, allocations: 0.5699 MB / 0.9976 GB, free: 9 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001226/0.2566, allocations: 0.8609 MB / 0.9984 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003404/0.257, allocations: 211.4 kB / 0.9986 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000269/0.2572, allocations: 302.9 kB / 0.9989 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of Backend: time 7.51e-07/0.2573, allocations: 0 / 0.9989 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008052/0.2581, allocations: 419 kB / 0.9993 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of SimCode: time 0.002012/0.2601, allocations: 1.974 MB / 1.001 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of Templates: time 0.01119/0.2713, allocations: 6.247 MB / 1.007 GB, free: 14.99 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)