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 2.524/2.524, allocations: 287.5 MB / 302.4 MB, free: 8.332 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.001311/0.001311, allocations: 177 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.145/2.145, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001062/0.001062, allocations: 93.5 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006738/0.000674, allocations: 11.91 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2464, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.005049/0.2515, allocations: 3.532 MB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00325/0.2548, allocations: 1.291 MB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005626/0.2554, allocations: 23.88 kB / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.2558, allocations: 83.22 kB / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004133/0.2562, allocations: 138.8 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.2573, allocations: 289.2 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00106/0.2584, allocations: 0.8306 MB / 0.9844 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005794/0.259, allocations: 295.6 kB / 0.9847 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003419/0.2594, allocations: 226.9 kB / 0.9849 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.2597, allocations: 238.6 kB / 0.9851 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.251e-05/0.2598, allocations: 27.98 kB / 0.9851 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.2599, allocations: 24 kB / 0.9851 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.26, allocations: 91.55 kB / 0.9852 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.2602, allocations: 157.3 kB / 0.9854 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008502/0.261, allocations: 0.8105 MB / 0.9862 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.2611, allocations: 4 kB / 0.9862 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2611, allocations: 4 kB / 0.9862 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.2611, allocations: 0 / 0.9862 GB, free: 20.29 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.002304/0.2634, allocations: 0.9522 MB / 0.9871 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.2635, allocations: 16 kB / 0.9871 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.2637, allocations: 83.06 kB / 0.9872 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.2648, allocations: 0.5368 MB / 0.9877 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.218e-05/0.2648, allocations: 45.31 kB / 0.9878 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.265, allocations: 56 kB / 0.9878 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.2665, allocations: 0.6075 MB / 0.9884 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/0.2666, allocations: 0 / 0.9884 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.108e-05/0.2667, allocations: 31.94 kB / 0.9885 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.2667, allocations: 16 kB / 0.9885 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.2682, allocations: 465 kB / 0.9889 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004027/0.2723, allocations: 2.028 MB / 0.9909 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.2737, allocations: 449 kB / 0.9913 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000679/0.2744, allocations: 242.1 kB / 0.9916 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.469e-05/0.2745, allocations: 8.438 kB / 0.9916 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007974/0.2753, allocations: 261.3 kB / 0.9918 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 3.487e-06/0.2753, allocations: 0 / 0.9918 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.001992/0.2773, allocations: 0.6006 MB / 0.9924 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.2773, allocations: 55.84 kB / 0.9924 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000666/0.278, allocations: 445.9 kB / 0.9929 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.2781, allocations: 37.7 kB / 0.9929 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/0.2783, allocations: 320.3 kB / 0.9932 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.2785, allocations: 165.6 kB / 0.9934 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.2786, allocations: 12 kB / 0.9934 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2787, allocations: 366.8 kB / 0.9937 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005923/0.2793, allocations: 169 kB / 0.9939 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/0.2799, allocations: 249.8 kB / 0.9941 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006506/0.2806, allocations: 227.8 kB / 0.9944 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2806, allocations: 0 / 0.9944 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001596/0.2822, allocations: 0.5701 MB / 0.9949 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/0.2823, allocations: 47.47 kB / 0.995 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.2823, allocations: 0 / 0.995 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.2823, allocations: 7.984 kB / 0.995 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008603/0.2832, allocations: 119.8 kB / 0.9951 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.2832, allocations: 4 kB / 0.9951 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005998/0.2838, allocations: 67.5 kB / 0.9951 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.2839, allocations: 23.94 kB / 0.9952 GB, free: 10.78 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.0004023/0.2843, allocations: 209.7 kB / 0.9954 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.285e-05/0.2844, allocations: 55.34 kB / 0.9954 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.2846, allocations: 65.55 kB / 0.9955 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.2846, allocations: 4 kB / 0.9955 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.2846, allocations: 3.938 kB / 0.9955 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.2846, allocations: 7.984 kB / 0.9955 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/0.2871, allocations: 1.185 MB / 0.9967 GB, free: 9.188 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.2871, allocations: 4 kB / 0.9967 GB, free: 9.184 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008775/0.288, allocations: 103.8 kB / 0.9968 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.288, allocations: 0 / 0.9968 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.447e-05/0.2881, allocations: 12 kB / 0.9968 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.2881, allocations: 4 kB / 0.9968 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2881, allocations: 0 / 0.9968 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.2902, allocations: 0.7718 MB / 0.9975 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/0.2904, allocations: 168.4 kB / 0.9977 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.933e-05/0.2906, allocations: 19.94 kB / 0.9977 GB, free: 8.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005089/0.2911, allocations: 31.92 kB / 0.9977 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.2912, allocations: 36.38 kB / 0.9978 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.2913, allocations: 12 kB / 0.9978 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004755/0.2918, allocations: 306.9 kB / 0.9981 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2918, allocations: 4 kB / 0.9981 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006143/0.2924, allocations: 143.4 kB / 0.9982 GB, free: 7.551 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.0001649/0.2926, allocations: 112.4 kB / 0.9983 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001394/0.294, allocations: 493.3 kB / 0.9988 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.294, allocations: 0 / 0.9988 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006294/0.2946, allocations: 214.4 kB / 0.999 GB, free: 6.738 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.2959, allocations: 148.6 kB / 0.9991 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/0.2999, allocations: 1.614 MB / 1.001 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.3003, allocations: 0.8902 MB / 1.002 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004987/0.3008, allocations: 68.56 kB / 1.002 GB, free: 3.961 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.301, allocations: 43.44 kB / 1.002 GB, free: 3.918 MB / 0.6198 GB Notification: Performance of SimCode: time 9.71e-07/0.301, allocations: 0 / 1.002 GB, free: 3.918 MB / 0.6198 GB Notification: Performance of Templates: time 0.01668/0.3177, allocations: 5.368 MB / 1.007 GB, free: 14.62 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)