Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009174/0.0009174, allocations: 84.8 kB / 21.62 MB, free: 2.832 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 173.6 kB / 25.05 MB, free: 8.785 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9297/0.9297, allocations: 177.1 MB / 205.5 MB, free: 4.434 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.916/1.916, allocations: 389.6 MB / 0.6363 GB, free: 13.39 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7761 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.681e-05, allocations: 2.312 kB / 0.7761 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.00389/0.003917, allocations: 4.001 MB / 0.78 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.006174, allocations: 1.402 MB / 0.7814 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003399/0.006514, allocations: 31.75 kB / 0.7814 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.006805, allocations: 118.8 kB / 0.7815 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.007103, allocations: 198.2 kB / 0.7817 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008751/0.007978, allocations: 411.4 kB / 0.7821 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007726/0.008751, allocations: 0.9668 MB / 0.7831 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000367/0.009118, allocations: 302.6 kB / 0.7833 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004807/0.009598, allocations: 0.5067 MB / 0.7838 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.009829, allocations: 243.2 kB / 0.7841 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.053e-05/0.00991, allocations: 88 kB / 0.7842 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.318e-05/0.009993, allocations: 88 kB / 0.7842 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.989e-05/0.01009, allocations: 175.4 kB / 0.7844 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.01028, allocations: 251.3 kB / 0.7846 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006065/0.01088, allocations: 0.5681 MB / 0.7852 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.01089, allocations: 0 / 0.7852 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.533e-06/0.01089, allocations: 0 / 0.7852 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.0109, allocations: 0 / 0.7852 GB, free: 4.566 MB / 0.7448 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.001324/0.01223, allocations: 0.9721 MB / 0.7861 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.01227, allocations: 16.03 kB / 0.7862 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.01241, allocations: 100.9 kB / 0.7863 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000615/0.01302, allocations: 413.3 kB / 0.7867 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/0.01306, allocations: 45.69 kB / 0.7867 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.01313, allocations: 64.33 kB / 0.7868 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005444/0.01368, allocations: 493.9 kB / 0.7872 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.0137, allocations: 192 / 0.7872 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.01373, allocations: 24.38 kB / 0.7873 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.01374, allocations: 19.94 kB / 0.7873 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.01399, allocations: 162.3 kB / 0.7874 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.01566, allocations: 1.29 MB / 0.7887 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005848/0.01624, allocations: 217.7 kB / 0.7889 GB, free: 0.6367 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.01635, allocations: 98.3 kB / 0.789 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.01637, allocations: 8.5 kB / 0.789 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.01657, allocations: 170.2 kB / 0.7892 GB, free: 360 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=49): time 2.735e-06/0.01658, allocations: 0 / 0.7892 GB, free: 360 kB / 0.7448 GB Notification: Performance of matching and sorting (n=49): time 0.0003326/0.01691, allocations: 254 kB / 0.7894 GB, free: 100 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.01694, allocations: 59.91 kB / 0.7895 GB, free: 28 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.01718, allocations: 387.1 kB / 0.7898 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.01721, allocations: 37.64 kB / 0.7899 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.01732, allocations: 278.1 kB / 0.7901 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-05/0.01741, allocations: 178.5 kB / 0.7903 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.145e-05/0.0175, allocations: 94.25 kB / 0.7904 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.0176, allocations: 374.5 kB / 0.7907 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.465e-05/0.01768, allocations: 78.98 kB / 0.7908 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.01779, allocations: 168.4 kB / 0.791 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.018, allocations: 255.1 kB / 0.7912 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.018, allocations: 0 / 0.7912 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000276/0.01828, allocations: 326 kB / 0.7915 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.01831, allocations: 33.7 kB / 0.7916 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.01831, allocations: 0 / 0.7916 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.01832, allocations: 4 kB / 0.7916 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.01864, allocations: 143.2 kB / 0.7917 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.01864, allocations: 4 kB / 0.7917 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.01877, allocations: 51.66 kB / 0.7918 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.01879, allocations: 16 kB / 0.7918 GB, free: 13.52 MB / 0.7605 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 (conNoRes.conPID.I.trigger_internal,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.01891, allocations: 149.7 kB / 0.7919 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.01896, allocations: 47.95 kB / 0.792 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.503e-05/0.01902, allocations: 61.45 kB / 0.792 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.01903, allocations: 7.984 kB / 0.792 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.01903, allocations: 3.938 kB / 0.792 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01904, allocations: 0 / 0.792 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/0.01964, allocations: 0.5797 MB / 0.7926 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01964, allocations: 0 / 0.7926 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/0.01992, allocations: 115.8 kB / 0.7927 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.01992, allocations: 7.938 kB / 0.7927 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.01994, allocations: 4 kB / 0.7927 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.01994, allocations: 4 kB / 0.7927 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.01995, allocations: 3.984 kB / 0.7927 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.0203, allocations: 402.7 kB / 0.7931 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.02038, allocations: 63.47 kB / 0.7932 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/0.02041, allocations: 12 kB / 0.7932 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.02053, allocations: 19.98 kB / 0.7932 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.02058, allocations: 40.42 kB / 0.7932 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.0206, allocations: 12 kB / 0.7933 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000112/0.02071, allocations: 164.7 kB / 0.7934 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.02071, allocations: 0 / 0.7934 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000257/0.02097, allocations: 143.6 kB / 0.7935 GB, free: 11.66 MB / 0.7605 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.297e-05/0.02106, allocations: 92.36 kB / 0.7936 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002757/0.02133, allocations: 305.5 kB / 0.7939 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.02134, allocations: 8 kB / 0.7939 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.02146, allocations: 120.6 kB / 0.7941 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.02183, allocations: 159 kB / 0.7942 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.02326, allocations: 1.1 MB / 0.7953 GB, free: 9.816 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.151e-05/0.02334, allocations: 133.9 kB / 0.7954 GB, free: 9.664 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001706/0.02351, allocations: 60.53 kB / 0.7955 GB, free: 9.602 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.02373, allocations: 165.3 kB / 0.7956 GB, free: 9.438 MB / 0.7605 GB Notification: Performance of SimCode: time 1.102e-06/0.02373, allocations: 0 / 0.7956 GB, free: 9.438 MB / 0.7605 GB Notification: Performance of Templates: time 0.009394/0.03312, allocations: 6.442 MB / 0.8019 GB, free: 3.098 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.000206401571631]