Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.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.001452/0.001452, allocations: 80.75 kB / 20.82 MB, free: 3.633 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.001691/0.001691, allocations: 165 kB / 24.25 MB, free: 212 kB / 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.9933/0.9933, allocations: 177.1 MB / 204.7 MB, free: 5.465 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.844/1.844, allocations: 389.6 MB / 0.6355 GB, free: 12.28 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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7753 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.291e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003823/0.003846, allocations: 3.499 MB / 0.7787 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001913/0.005758, allocations: 1.385 MB / 0.7801 GB, free: 476 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002655/0.006024, allocations: 35.69 kB / 0.7801 GB, free: 440 kB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.006279, allocations: 126.6 kB / 0.7802 GB, free: 312 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.006645, allocations: 198.1 kB / 0.7804 GB, free: 116 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000714/0.007359, allocations: 0.5657 MB / 0.781 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006354/0.007995, allocations: 0.968 MB / 0.7819 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.008287, allocations: 244.2 kB / 0.7822 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003951/0.008682, allocations: 0.5142 MB / 0.7827 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.008905, allocations: 255 kB / 0.7829 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.488e-05/0.00898, allocations: 76 kB / 0.783 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.394e-05/0.009044, allocations: 80 kB / 0.7831 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.009144, allocations: 183.3 kB / 0.7832 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.009277, allocations: 231.2 kB / 0.7835 GB, free: 13 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004482/0.009725, allocations: 0.5823 MB / 0.784 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.009727, allocations: 0 / 0.784 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.41e-07/0.009728, allocations: 0 / 0.784 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.009733, allocations: 0 / 0.784 GB, free: 12.42 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001038/0.01077, allocations: 1.062 MB / 0.7851 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.0108, allocations: 10.28 kB / 0.7851 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.807e-05/0.0109, allocations: 104.8 kB / 0.7852 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.01141, allocations: 0.4977 MB / 0.7857 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.385e-05/0.0115, allocations: 148.4 kB / 0.7858 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.452e-05/0.01155, allocations: 56.38 kB / 0.7859 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.01199, allocations: 0.6007 MB / 0.7864 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.01201, allocations: 4.125 kB / 0.7864 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.01204, allocations: 33.34 kB / 0.7865 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.01205, allocations: 15.94 kB / 0.7865 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.01221, allocations: 139.7 kB / 0.7866 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.01342, allocations: 1.459 MB / 0.788 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.01372, allocations: 221.4 kB / 0.7883 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.827e-05/0.0138, allocations: 84.77 kB / 0.7883 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.01383, allocations: 4.938 kB / 0.7883 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.01402, allocations: 213.6 kB / 0.7885 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 1.593e-06/0.01402, allocations: 0.8438 kB / 0.7885 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.0003153/0.01434, allocations: 265.4 kB / 0.7888 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.01439, allocations: 110.8 kB / 0.7889 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.01469, allocations: 0.5084 MB / 0.7894 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.01472, allocations: 37.7 kB / 0.7894 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.01484, allocations: 279.9 kB / 0.7897 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.859e-05/0.01491, allocations: 166.6 kB / 0.7899 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-05/0.015, allocations: 96.03 kB / 0.79 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.01511, allocations: 386.6 kB / 0.7903 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.708e-05/0.01519, allocations: 85.16 kB / 0.7904 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.01534, allocations: 243.2 kB / 0.7906 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.01556, allocations: 262.2 kB / 0.7909 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01556, allocations: 1.438 kB / 0.7909 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0002953/0.01585, allocations: 339.1 kB / 0.7912 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.01588, allocations: 34.81 kB / 0.7912 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.01589, allocations: 4 kB / 0.7913 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.0159, allocations: 7.938 kB / 0.7913 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.01613, allocations: 108.7 kB / 0.7914 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.01614, allocations: 8 kB / 0.7914 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.01629, allocations: 61.89 kB / 0.7914 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.01631, allocations: 15.98 kB / 0.7914 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001414/0.01645, allocations: 167.1 kB / 0.7916 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000127/0.01657, allocations: 239.2 kB / 0.7918 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000195/0.01677, allocations: 263 kB / 0.7921 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/0.01677, allocations: 4 kB / 0.7921 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0002674/0.01704, allocations: 336.1 kB / 0.7924 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.01706, allocations: 33.83 kB / 0.7924 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.01706, allocations: 4 kB / 0.7924 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.917e-06/0.01706, allocations: 7.938 kB / 0.7925 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.01727, allocations: 108.3 kB / 0.7926 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.01727, allocations: 11.92 kB / 0.7926 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.01741, allocations: 55.09 kB / 0.7926 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.01743, allocations: 12 kB / 0.7926 GB, free: 3.074 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (limPID.I.trigger_internal,limPIDRev.I.trigger_internal,limPIDOri.I.local_reset,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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 9.581e-05/0.01752, allocations: 212.7 kB / 0.7928 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.01757, allocations: 51.94 kB / 0.7929 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.203e-05/0.01765, allocations: 78.77 kB / 0.793 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.01765, allocations: 7.938 kB / 0.793 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.01765, allocations: 2.469 kB / 0.793 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.01766, allocations: 3.984 kB / 0.793 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.01791, allocations: 317.3 kB / 0.7933 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01791, allocations: 0 / 0.7933 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.01811, allocations: 87.89 kB / 0.7934 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.01811, allocations: 0 / 0.7934 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.01813, allocations: 12.89 kB / 0.7934 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.01813, allocations: 0 / 0.7934 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01813, allocations: 1.094 kB / 0.7934 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.01847, allocations: 327.8 kB / 0.7937 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.01857, allocations: 77.19 kB / 0.7938 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.01861, allocations: 12 kB / 0.7938 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.01875, allocations: 27.97 kB / 0.7938 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.0188, allocations: 28.59 kB / 0.7938 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.01882, allocations: 19.92 kB / 0.7938 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001542/0.01897, allocations: 245.2 kB / 0.7941 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01897, allocations: 0 / 0.7941 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002813/0.01925, allocations: 232.4 kB / 0.7943 GB, free: 1.328 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.025e-05/0.01934, allocations: 89.39 kB / 0.7944 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004675/0.01981, allocations: 0.515 MB / 0.7949 GB, free: 0.6758 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.01982, allocations: 8 kB / 0.7949 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.01992, allocations: 105.7 kB / 0.795 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.02031, allocations: 211.2 kB / 0.7952 GB, free: 376 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.02135, allocations: 1.076 MB / 0.7962 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.185e-05/0.02142, allocations: 143.7 kB / 0.7964 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002112/0.02164, allocations: 91.39 kB / 0.7965 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.02195, allocations: 205.2 kB / 0.7967 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of SimCode: time 6.81e-07/0.02195, allocations: 0.875 kB / 0.7967 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of Templates: time 0.01016/0.03211, allocations: 8.67 MB / 0.8051 GB, free: 6.438 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_13_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.01479955483228]