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.835/1.835, allocations: 288.4 MB / 303.4 MB, free: 8.156 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.001658/0.001658, allocations: 187 kB / 372 MB, free: 10.3 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.827/1.827, allocations: 205.4 MB / 0.6307 GB, free: 10.05 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.0009092/0.000909, allocations: 88.89 kB / 0.7441 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003959, allocations: 11.38 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2635, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003846/0.2675, allocations: 3.528 MB / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.2696, allocations: 1.294 MB / 0.9843 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003297/0.2699, allocations: 27.88 kB / 0.9843 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.2702, allocations: 83.2 kB / 0.9844 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.2704, allocations: 134.8 kB / 0.9845 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006523/0.2711, allocations: 289.1 kB / 0.9848 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000557/0.2716, allocations: 0.8345 MB / 0.9856 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003843/0.272, allocations: 295.6 kB / 0.9859 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.2723, allocations: 226.9 kB / 0.9861 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.2725, allocations: 242.5 kB / 0.9863 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.952e-05/0.2726, allocations: 24 kB / 0.9864 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.677e-05/0.2726, allocations: 24 kB / 0.9864 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.714e-05/0.2727, allocations: 87.56 kB / 0.9865 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.494e-05/0.2728, allocations: 157.3 kB / 0.9866 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004943/0.2733, allocations: 0.8144 MB / 0.9874 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2733, allocations: 0 / 0.9874 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2733, allocations: 4 kB / 0.9874 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.2734, allocations: 0 / 0.9874 GB, free: 19.62 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.001398/0.2748, allocations: 0.9561 MB / 0.9884 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2748, allocations: 8.031 kB / 0.9884 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.2749, allocations: 83.06 kB / 0.9884 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006485/0.2756, allocations: 0.5367 MB / 0.989 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.2756, allocations: 41.31 kB / 0.989 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.609e-05/0.2757, allocations: 63.92 kB / 0.9891 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009143/0.2766, allocations: 0.6075 MB / 0.9897 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.2767, allocations: 0 / 0.9897 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/0.2767, allocations: 24 kB / 0.9897 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.2767, allocations: 12 kB / 0.9897 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008725/0.2776, allocations: 473 kB / 0.9901 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002348/0.28, allocations: 2.028 MB / 0.9921 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007924/0.2808, allocations: 450.8 kB / 0.9926 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003799/0.2812, allocations: 242.1 kB / 0.9928 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.2812, allocations: 12.44 kB / 0.9928 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005324/0.2817, allocations: 257.4 kB / 0.993 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 1.713e-06/0.2818, allocations: 0 / 0.993 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.00112/0.2829, allocations: 0.6006 MB / 0.9936 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.2829, allocations: 59.83 kB / 0.9937 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.2833, allocations: 445.9 kB / 0.9941 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.2834, allocations: 37.7 kB / 0.9941 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.2836, allocations: 328.2 kB / 0.9945 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.819e-05/0.2837, allocations: 161.7 kB / 0.9946 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.2837, allocations: 12 kB / 0.9946 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.947e-05/0.2838, allocations: 362.8 kB / 0.995 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.2841, allocations: 169 kB / 0.9951 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.2845, allocations: 257.8 kB / 0.9954 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.2849, allocations: 223.8 kB / 0.9956 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2849, allocations: 0 / 0.9956 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009235/0.2858, allocations: 0.574 MB / 0.9961 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.2859, allocations: 35.83 kB / 0.9962 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2859, allocations: 4 kB / 0.9962 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.2859, allocations: 7.953 kB / 0.9962 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004642/0.2864, allocations: 119.8 kB / 0.9963 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.2864, allocations: 8 kB / 0.9963 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.2867, allocations: 67.5 kB / 0.9964 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.2868, allocations: 23.98 kB / 0.9964 GB, free: 10.09 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.0002176/0.287, allocations: 206.5 kB / 0.9966 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.2871, allocations: 59.28 kB / 0.9967 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.2872, allocations: 65.58 kB / 0.9967 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2872, allocations: 7.953 kB / 0.9967 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.2872, allocations: 0 / 0.9967 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.2872, allocations: 4 kB / 0.9967 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.2886, allocations: 1.185 MB / 0.9979 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2886, allocations: 4 kB / 0.9979 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.2891, allocations: 99.88 kB / 0.998 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.2891, allocations: 3.953 kB / 0.998 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.2891, allocations: 12 kB / 0.998 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2891, allocations: 0 / 0.998 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2891, allocations: 4 kB / 0.998 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.2903, allocations: 0.7718 MB / 0.9988 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.2905, allocations: 172.4 kB / 0.9989 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.2905, allocations: 19.94 kB / 0.9989 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/0.2908, allocations: 35.91 kB / 0.999 GB, free: 7.355 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/0.2909, allocations: 32.39 kB / 0.999 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.291, allocations: 15.98 kB / 0.999 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002804/0.2913, allocations: 302.9 kB / 0.9993 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2913, allocations: 0 / 0.9993 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003891/0.2917, allocations: 151.4 kB / 0.9995 GB, free: 6.867 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.0001448/0.2918, allocations: 107.2 kB / 0.9996 GB, free: 6.754 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008062/0.2926, allocations: 0.4897 MB / 1 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2926, allocations: 0 / 1 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003587/0.293, allocations: 214.4 kB / 1 GB, free: 6.047 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007331/0.2937, allocations: 146.7 kB / 1 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.2962, allocations: 1.621 MB / 1.002 GB, free: 4.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.2965, allocations: 0.8863 MB / 1.003 GB, free: 3.336 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000289/0.2968, allocations: 64.58 kB / 1.003 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.2969, allocations: 39.44 kB / 1.003 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.2969, allocations: 0 / 1.003 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.009873/0.3068, allocations: 5.371 MB / 1.008 GB, free: 13.93 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)