Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.667/1.667, allocations: 288.4 MB / 304.3 MB, free: 8.215 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.001051/0.001051, allocations: 177.5 kB / 372.9 MB, free: 10.15 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.773/1.773, allocations: 205.4 MB / 0.6316 GB, free: 9.895 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.0009476/0.0009476, allocations: 102.6 kB / 0.745 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004026, allocations: 11.94 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.229, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003377/0.2324, allocations: 3.536 MB / 0.9842 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.2342, allocations: 1.279 MB / 0.9854 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002756/0.2345, allocations: 27.88 kB / 0.9855 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.2348, allocations: 87.2 kB / 0.9855 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.2351, allocations: 134.8 kB / 0.9857 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006469/0.2357, allocations: 294.2 kB / 0.9859 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005501/0.2363, allocations: 0.8423 MB / 0.9868 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004736/0.2368, allocations: 426.4 kB / 0.9872 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.237, allocations: 230.8 kB / 0.9874 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.2372, allocations: 238.6 kB / 0.9876 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.419e-05/0.2373, allocations: 24 kB / 0.9876 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.064e-05/0.2374, allocations: 27.94 kB / 0.9877 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.616e-05/0.2374, allocations: 91.55 kB / 0.9878 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002488/0.2377, allocations: 324 kB / 0.9881 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005941/0.2383, allocations: 0.7986 MB / 0.9888 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.2383, allocations: 0 / 0.9888 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2383, allocations: 0 / 0.9888 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.2384, allocations: 0 / 0.9888 GB, free: 18.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.001619/0.24, allocations: 0.9562 MB / 0.9898 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.24, allocations: 11.97 kB / 0.9898 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.2402, allocations: 80 kB / 0.9899 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008566/0.241, allocations: 0.5533 MB / 0.9904 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.642e-05/0.2411, allocations: 49.69 kB / 0.9905 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.847e-05/0.2412, allocations: 64.28 kB / 0.9905 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009702/0.2422, allocations: 0.6078 MB / 0.9911 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.2422, allocations: 0 / 0.9911 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.096e-05/0.2423, allocations: 24 kB / 0.9911 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.2423, allocations: 16 kB / 0.9912 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000866/0.2432, allocations: 461 kB / 0.9916 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/0.2456, allocations: 2.028 MB / 0.9936 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007597/0.2464, allocations: 455.3 kB / 0.994 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003769/0.2468, allocations: 246.1 kB / 0.9942 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.2468, allocations: 4.438 kB / 0.9942 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004855/0.2473, allocations: 261.3 kB / 0.9945 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 2.265e-06/0.2473, allocations: 4 kB / 0.9945 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.001082/0.2484, allocations: 0.6002 MB / 0.9951 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.2484, allocations: 63.83 kB / 0.9951 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003942/0.2488, allocations: 441.9 kB / 0.9956 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.2489, allocations: 33.7 kB / 0.9956 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.249, allocations: 328.3 kB / 0.9959 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.966e-05/0.2491, allocations: 157.7 kB / 0.9961 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/0.2491, allocations: 12 kB / 0.9961 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.004e-05/0.2492, allocations: 366.8 kB / 0.9964 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.2496, allocations: 173 kB / 0.9966 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.2499, allocations: 249.8 kB / 0.9968 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/0.2506, allocations: 460 kB / 0.9973 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2506, allocations: 0 / 0.9973 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008717/0.2515, allocations: 0.5704 MB / 0.9978 GB, free: 9.441 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.2516, allocations: 37.67 kB / 0.9979 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2516, allocations: 4 kB / 0.9979 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2516, allocations: 7.938 kB / 0.9979 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/0.2521, allocations: 115.8 kB / 0.998 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.2521, allocations: 7.938 kB / 0.998 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.2524, allocations: 75.41 kB / 0.9981 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.2524, allocations: 20 kB / 0.9981 GB, free: 9.172 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.0002601/0.2527, allocations: 207.5 kB / 0.9983 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.2528, allocations: 59.28 kB / 0.9983 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.2529, allocations: 61.59 kB / 0.9984 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.2529, allocations: 3.984 kB / 0.9984 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2529, allocations: 4 kB / 0.9984 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.253, allocations: 172.3 kB / 0.9986 GB, free: 8.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.878e-05/0.2531, allocations: 8 kB / 0.9986 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.2534, allocations: 35.91 kB / 0.9986 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.2535, allocations: 40.38 kB / 0.9986 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001126/0.2546, allocations: 0.5699 MB / 0.9992 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001127/0.2558, allocations: 0.861 MB / 1 GB, free: 7.109 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003281/0.2561, allocations: 219.5 kB / 1 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002524/0.2564, allocations: 302.9 kB / 1.001 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of Backend: time 8.31e-07/0.2564, allocations: 0 / 1.001 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000803/0.2572, allocations: 419.5 kB / 1.001 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001858/0.259, allocations: 1.963 MB / 1.003 GB, free: 4.168 MB / 0.6198 GB Notification: Performance of Templates: time 0.0111/0.2702, allocations: 6.323 MB / 1.009 GB, free: 13.91 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)