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.001313/0.001313, allocations: 80.81 kB / 21.55 MB, free: 2.941 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.001603/0.001603, allocations: 168.8 kB / 24.97 MB, free: 9.18 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.9561/0.9561, allocations: 177.1 MB / 205.4 MB, free: 5.496 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.92/1.92, allocations: 389.6 MB / 0.6362 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.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.844e-06/1.844e-06, allocations: 0 / 0.7759 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/2.979e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006573/0.006603, allocations: 4.008 MB / 0.7798 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003459/0.01006, allocations: 1.395 MB / 0.7812 GB, free: 20 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007484/0.01081, allocations: 31.86 kB / 0.7812 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004179/0.01123, allocations: 125.4 kB / 0.7814 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005672/0.0118, allocations: 197.8 kB / 0.7815 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009885/0.01278, allocations: 419.3 kB / 0.7819 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001255/0.01404, allocations: 0.9746 MB / 0.7829 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008667/0.01491, allocations: 298.6 kB / 0.7832 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008214/0.01573, allocations: 0.4989 MB / 0.7837 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004364/0.01616, allocations: 232.3 kB / 0.7839 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.01633, allocations: 88 kB / 0.784 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.01645, allocations: 88 kB / 0.7841 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.01659, allocations: 184.4 kB / 0.7842 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.01686, allocations: 247.4 kB / 0.7845 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000788/0.01765, allocations: 0.5681 MB / 0.785 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.01766, allocations: 0.5 kB / 0.785 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.543e-06/0.01766, allocations: 0 / 0.785 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.991e-05/0.01768, allocations: 4.906 kB / 0.785 GB, free: 12.08 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.001619/0.0193, allocations: 0.9604 MB / 0.786 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.01935, allocations: 14.94 kB / 0.786 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.01954, allocations: 100.9 kB / 0.7861 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007462/0.02029, allocations: 423.1 kB / 0.7865 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.386e-05/0.02033, allocations: 47.09 kB / 0.7865 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.598e-05/0.02042, allocations: 68.27 kB / 0.7866 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007001/0.02112, allocations: 494.5 kB / 0.7871 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.02114, allocations: 192 / 0.7871 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.02118, allocations: 21.72 kB / 0.7871 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.0212, allocations: 19.94 kB / 0.7871 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003492/0.02155, allocations: 162.9 kB / 0.7873 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.02365, allocations: 1.291 MB / 0.7885 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003892/0.02404, allocations: 215.5 kB / 0.7887 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.02419, allocations: 94.3 kB / 0.7888 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.487e-05/0.02423, allocations: 13.5 kB / 0.7888 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.0245, allocations: 166.2 kB / 0.789 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=49): time 4.539e-06/0.0245, allocations: 5.141 kB / 0.789 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of matching and sorting (n=49): time 0.0004779/0.02498, allocations: 259.3 kB / 0.7892 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.02502, allocations: 59.84 kB / 0.7893 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.02536, allocations: 383.2 kB / 0.7897 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.0254, allocations: 33.7 kB / 0.7897 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.02558, allocations: 283.2 kB / 0.79 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000413/0.02599, allocations: 170.5 kB / 0.7901 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.02613, allocations: 98.25 kB / 0.7902 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.02626, allocations: 376 kB / 0.7906 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.02639, allocations: 71 kB / 0.7906 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.02656, allocations: 164.4 kB / 0.7908 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.02687, allocations: 258.4 kB / 0.791 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.02687, allocations: 1.594 kB / 0.791 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003616/0.03049, allocations: 321 kB / 0.7914 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/0.03054, allocations: 33.7 kB / 0.7914 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.03055, allocations: 4 kB / 0.7914 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.03057, allocations: 4 kB / 0.7914 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/0.03108, allocations: 130 kB / 0.7915 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.0311, allocations: 11.94 kB / 0.7915 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.03134, allocations: 54.69 kB / 0.7916 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.03137, allocations: 15.98 kB / 0.7916 GB, free: 5.078 MB / 0.7448 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.0001815/0.03155, allocations: 141.7 kB / 0.7917 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.791e-05/0.03163, allocations: 51.95 kB / 0.7918 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.03174, allocations: 65.44 kB / 0.7918 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.03175, allocations: 1.5 kB / 0.7918 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.03175, allocations: 0 / 0.7918 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.03191, allocations: 67.47 kB / 0.7919 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/0.03197, allocations: 8 kB / 0.7919 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.03213, allocations: 21.39 kB / 0.7919 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.354e-05/0.03223, allocations: 36.38 kB / 0.792 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005725/0.0328, allocations: 307.5 kB / 0.7923 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005971/0.0334, allocations: 469.7 kB / 0.7927 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001688/0.03356, allocations: 106.3 kB / 0.7928 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001989/0.03376, allocations: 161.3 kB / 0.793 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of Backend: time 7.01e-07/0.03376, allocations: 0 / 0.793 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006245/0.03439, allocations: 319.6 kB / 0.7933 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0026/0.03699, allocations: 1.647 MB / 0.7949 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of Templates: time 0.01668/0.05367, allocations: 7.654 MB / 0.8024 GB, free: 10.21 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.26198866777122]