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.821/1.821, allocations: 287.5 MB / 302.6 MB, free: 8.316 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.001973/0.001973, allocations: 193.8 kB / 371.2 MB, free: 10.8 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.555/1.555, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0007618/0.0007617, allocations: 96 kB / 0.7432 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003854, allocations: 10.69 kB / 0.8661 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2096, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003527/0.2131, allocations: 3.54 MB / 0.9821 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002359/0.2155, allocations: 1.291 MB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006521/0.2162, allocations: 23.88 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003638/0.2166, allocations: 83.22 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004849/0.2171, allocations: 142.8 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008357/0.2179, allocations: 277.2 kB / 0.9839 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009402/0.2189, allocations: 0.8461 MB / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005693/0.2195, allocations: 426.4 kB / 0.9851 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003366/0.2198, allocations: 226.8 kB / 0.9853 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.2201, allocations: 242.6 kB / 0.9856 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.813e-05/0.2202, allocations: 24 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.021e-05/0.2202, allocations: 24 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.711e-05/0.2203, allocations: 95.48 kB / 0.9857 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.2204, allocations: 157.3 kB / 0.9858 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004813/0.2209, allocations: 0.8103 MB / 0.9866 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2209, allocations: 0 / 0.9866 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2209, allocations: 3.938 kB / 0.9866 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.221, allocations: 0 / 0.9866 GB, free: 19.96 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.001303/0.2223, allocations: 0.9485 MB / 0.9876 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2223, allocations: 12.03 kB / 0.9876 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.981e-05/0.2224, allocations: 84 kB / 0.9877 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006315/0.2231, allocations: 0.5533 MB / 0.9882 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.2231, allocations: 41.69 kB / 0.9882 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.626e-05/0.2232, allocations: 60.28 kB / 0.9883 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008926/0.2241, allocations: 0.6118 MB / 0.9889 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.2241, allocations: 3.938 kB / 0.9889 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.411e-05/0.2242, allocations: 31.94 kB / 0.9889 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.2242, allocations: 12 kB / 0.9889 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008467/0.225, allocations: 465 kB / 0.9894 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.2273, allocations: 2.012 MB / 0.9913 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000783/0.2281, allocations: 453.4 kB / 0.9918 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/0.2285, allocations: 250.1 kB / 0.992 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.2286, allocations: 12.41 kB / 0.992 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000498/0.2291, allocations: 265.2 kB / 0.9923 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 2.194e-06/0.2291, allocations: 0 / 0.9923 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.001107/0.2302, allocations: 0.5964 MB / 0.9929 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.2302, allocations: 55.84 kB / 0.9929 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003737/0.2306, allocations: 449.9 kB / 0.9933 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.2307, allocations: 33.7 kB / 0.9934 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.2308, allocations: 324.3 kB / 0.9937 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.65e-05/0.2309, allocations: 169.6 kB / 0.9939 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/0.2309, allocations: 12 kB / 0.9939 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.341e-05/0.231, allocations: 362.8 kB / 0.9942 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.2314, allocations: 173 kB / 0.9944 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.2317, allocations: 253.8 kB / 0.9946 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006727/0.2324, allocations: 464 kB / 0.9951 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2324, allocations: 0 / 0.9951 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008506/0.2333, allocations: 0.5702 MB / 0.9956 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.2333, allocations: 33.64 kB / 0.9956 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2333, allocations: 4 kB / 0.9957 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2334, allocations: 4 kB / 0.9957 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.2338, allocations: 115.8 kB / 0.9958 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.2338, allocations: 4.25 kB / 0.9958 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.2342, allocations: 79.34 kB / 0.9958 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.2342, allocations: 19.98 kB / 0.9959 GB, free: 10.18 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.0001993/0.2344, allocations: 209.7 kB / 0.9961 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.2345, allocations: 59.28 kB / 0.9961 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.2346, allocations: 65.58 kB / 0.9962 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.2346, allocations: 11.94 kB / 0.9962 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2346, allocations: 0 / 0.9962 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2346, allocations: 0 / 0.9962 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.236, allocations: 1.189 MB / 0.9974 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.236, allocations: 4 kB / 0.9974 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004258/0.2365, allocations: 95.88 kB / 0.9975 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.2365, allocations: 4 kB / 0.9975 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.2365, allocations: 12 kB / 0.9975 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.2365, allocations: 7.984 kB / 0.9975 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2365, allocations: 0 / 0.9975 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.2376, allocations: 0.768 MB / 0.9982 GB, free: 7.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.2378, allocations: 176.2 kB / 0.9984 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.905e-05/0.2379, allocations: 11.94 kB / 0.9984 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.2382, allocations: 31.97 kB / 0.9984 GB, free: 7.445 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.925e-05/0.2383, allocations: 36.39 kB / 0.9985 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.2383, allocations: 19.98 kB / 0.9985 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002608/0.2385, allocations: 302.9 kB / 0.9988 GB, free: 7.098 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2386, allocations: 0 / 0.9988 GB, free: 7.098 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003714/0.2389, allocations: 139.5 kB / 0.9989 GB, free: 6.961 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001145/0.2391, allocations: 116.3 kB / 0.999 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007755/0.2398, allocations: 493 kB / 0.9995 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2398, allocations: 0 / 0.9995 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.2402, allocations: 218.9 kB / 0.9997 GB, free: 6.129 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000676/0.2409, allocations: 144.2 kB / 0.9998 GB, free: 5.992 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.2432, allocations: 1.617 MB / 1.001 GB, free: 4.344 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.2435, allocations: 0.8941 MB / 1.002 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002716/0.2438, allocations: 64.58 kB / 1.002 GB, free: 3.359 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.816e-05/0.2439, allocations: 39.44 kB / 1.002 GB, free: 3.32 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2439, allocations: 0 / 1.002 GB, free: 3.32 MB / 0.6198 GB Notification: Performance of Templates: time 0.00908/0.253, allocations: 5.375 MB / 1.008 GB, free: 14.02 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)