Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.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.0008792/0.0008792, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009477/0.0009477, allocations: 161 kB / 24.17 MB, free: 332 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.9649/0.9649, allocations: 177.1 MB / 204.6 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.94/1.94, allocations: 389.6 MB / 0.6354 GB, free: 12.31 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.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.401e-05, allocations: 3.875 kB / 0.7752 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.001528/0.001542, allocations: 1.164 MB / 0.7763 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.003068, allocations: 1.534 MB / 0.7778 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.509e-05/0.003143, allocations: 1.094 kB / 0.7778 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.241e-05/0.003186, allocations: 23.67 kB / 0.7778 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.003325, allocations: 68.88 kB / 0.7779 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006388/0.003964, allocations: 450 kB / 0.7783 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00036/0.004323, allocations: 0.5379 MB / 0.7789 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.004467, allocations: 74.66 kB / 0.7789 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002839/0.004751, allocations: 291.5 kB / 0.7792 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.004961, allocations: 151.5 kB / 0.7794 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.403e-05/0.005025, allocations: 52 kB / 0.7794 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.652e-05/0.005122, allocations: 60 kB / 0.7795 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.005168, allocations: 51.77 kB / 0.7795 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.005301, allocations: 159.6 kB / 0.7797 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.005653, allocations: 374.9 kB / 0.78 GB, free: 460 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.005655, allocations: 0 / 0.78 GB, free: 460 kB / 0.7292 GB Notification: Performance of FrontEnd: time 5.91e-07/0.005656, allocations: 3.469 kB / 0.78 GB, free: 460 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.005659, allocations: 4 kB / 0.78 GB, free: 456 kB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0006492/0.006308, allocations: 0.5687 MB / 0.7806 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.006343, allocations: 16.56 kB / 0.7806 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.625e-05/0.006419, allocations: 40.89 kB / 0.7806 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.006663, allocations: 192.8 kB / 0.7808 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.006689, allocations: 20.23 kB / 0.7808 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/0.006745, allocations: 36.36 kB / 0.7809 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.006891, allocations: 112.4 kB / 0.781 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.0069, allocations: 2.938 kB / 0.781 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.006915, allocations: 16.36 kB / 0.781 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.006923, allocations: 8.125 kB / 0.781 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.076e-05/0.006984, allocations: 32.44 kB / 0.781 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000573/0.007557, allocations: 388.9 kB / 0.7814 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.007737, allocations: 74.52 kB / 0.7815 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.84e-05/0.007775, allocations: 26 kB / 0.7815 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.007785, allocations: 7.938 kB / 0.7815 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.007936, allocations: 142.6 kB / 0.7817 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 1.253e-06/0.007937, allocations: 0 / 0.7817 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.0002242/0.008162, allocations: 153.5 kB / 0.7818 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.008193, allocations: 56 kB / 0.7819 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.008342, allocations: 217 kB / 0.7821 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.00838, allocations: 38.23 kB / 0.7821 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.127e-05/0.008462, allocations: 141.5 kB / 0.7822 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.008503, allocations: 67.45 kB / 0.7823 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.008628, allocations: 81.86 kB / 0.7824 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.008715, allocations: 339.6 kB / 0.7827 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.008892, allocations: 203 kB / 0.7829 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.009101, allocations: 282.9 kB / 0.7832 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.009355, allocations: 323.9 kB / 0.7835 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.009357, allocations: 0 / 0.7835 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004879/0.009845, allocations: 0.5238 MB / 0.784 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.959e-05/0.009915, allocations: 135.9 kB / 0.7841 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.009922, allocations: 4 kB / 0.7841 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.009936, allocations: 4 kB / 0.7841 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.718e-05/0.01, allocations: 24.48 kB / 0.7841 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01001, allocations: 7.938 kB / 0.7841 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.01029, allocations: 90.08 kB / 0.7842 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.01033, allocations: 29.78 kB / 0.7843 GB, free: 11.73 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 17 (tunSta.y,$PRE.tunSta.y,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,u.booPul.y,$PRE.u.booPul.y,tOff.booPul.y,$PRE.tOff.booPul.y,tOn.booPul.y,$PRE.tOn.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 4 * 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.0001462/0.01048, allocations: 141.7 kB / 0.7844 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.0105, allocations: 23.92 kB / 0.7844 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.484e-05/0.01054, allocations: 31.27 kB / 0.7845 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.01054, allocations: 0 / 0.7845 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.01054, allocations: 0 / 0.7845 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.01055, allocations: 4.484 kB / 0.7845 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.01084, allocations: 309.6 kB / 0.7848 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01084, allocations: 0 / 0.7848 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.0109, allocations: 27.92 kB / 0.7848 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.0109, allocations: 0.875 kB / 0.7848 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.01091, allocations: 0 / 0.7848 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.01091, allocations: 8.875 kB / 0.7848 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.01091, allocations: 0 / 0.7848 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.01113, allocations: 245.2 kB / 0.785 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.01115, allocations: 24.64 kB / 0.785 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.01117, allocations: 4 kB / 0.785 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.702e-05/0.01124, allocations: 9.031 kB / 0.7851 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.01127, allocations: 19.84 kB / 0.7851 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.01128, allocations: 11.98 kB / 0.7851 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.933e-05/0.01134, allocations: 72.53 kB / 0.7852 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01134, allocations: 0 / 0.7852 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003003/0.01164, allocations: 79.89 kB / 0.7852 GB, free: 10.7 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gai.Iy.y) * Number of discrete variables: 13 ($whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,u.booPul.y,tOn.booPul.y,tOff.booPul.y,tunSta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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 0.0001159/0.01175, allocations: 101 kB / 0.7853 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004221/0.01218, allocations: 0.5415 MB / 0.7859 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.01218, allocations: 4 kB / 0.7859 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.047e-05/0.01224, allocations: 51.56 kB / 0.7859 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.01255, allocations: 76.83 kB / 0.786 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.01303, allocations: 383.8 kB / 0.7863 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.239e-05/0.01308, allocations: 84.27 kB / 0.7864 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.325e-05/0.01314, allocations: 32.95 kB / 0.7865 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.01337, allocations: 127.3 kB / 0.7866 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of SimCode: time 6.42e-07/0.01337, allocations: 0 / 0.7866 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of Templates: time 0.008186/0.02155, allocations: 5.692 MB / 0.7921 GB, free: 3.812 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.sim & ./Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.117976151872426]