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.001132/0.001132, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.001135/0.001135, allocations: 169.1 kB / 25.17 MB, free: 8.922 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.9739/0.9739, allocations: 177.1 MB / 205.6 MB, free: 4.371 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.945/1.945, allocations: 389.6 MB / 0.6364 GB, free: 13.29 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 2.324e-06/2.324e-06, allocations: 0 / 0.7756 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.839e-05, allocations: 6.25 kB / 0.7756 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.00319/0.003219, allocations: 1.192 MB / 0.7768 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002394/0.005613, allocations: 1.532 MB / 0.7782 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.005774, allocations: 4 kB / 0.7783 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 7.769e-05/0.005852, allocations: 19.73 kB / 0.7783 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.006075, allocations: 63.44 kB / 0.7783 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.00717, allocations: 454.9 kB / 0.7788 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007063/0.007876, allocations: 0.5263 MB / 0.7793 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.008069, allocations: 74.44 kB / 0.7794 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004353/0.008505, allocations: 299.5 kB / 0.7796 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.008824, allocations: 143.5 kB / 0.7798 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.008924, allocations: 56 kB / 0.7798 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.009097, allocations: 63.92 kB / 0.7799 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.638e-05/0.009153, allocations: 59.77 kB / 0.7799 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.009337, allocations: 151.8 kB / 0.7801 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005736/0.009911, allocations: 378.9 kB / 0.7805 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.009915, allocations: 0 / 0.7805 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.064e-06/0.009917, allocations: 0 / 0.7805 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.009927, allocations: 0 / 0.7805 GB, free: 9.539 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.000854/0.01078, allocations: 0.5764 MB / 0.781 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.01082, allocations: 15.98 kB / 0.781 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.33e-05/0.01092, allocations: 40.89 kB / 0.7811 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.01122, allocations: 192.8 kB / 0.7813 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.01126, allocations: 20.38 kB / 0.7813 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.443e-05/0.01132, allocations: 32.38 kB / 0.7813 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.0115, allocations: 122.6 kB / 0.7814 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.01151, allocations: 192 / 0.7814 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.01153, allocations: 8.375 kB / 0.7814 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.01154, allocations: 8.125 kB / 0.7814 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.407e-05/0.01161, allocations: 35.91 kB / 0.7815 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007516/0.01236, allocations: 379.5 kB / 0.7818 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.0126, allocations: 86.52 kB / 0.7819 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.01265, allocations: 24.78 kB / 0.7819 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.01266, allocations: 4 kB / 0.7819 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.01285, allocations: 143.1 kB / 0.7821 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 2.465e-06/0.01285, allocations: 4 kB / 0.7821 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.000273/0.01312, allocations: 149.5 kB / 0.7822 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.01317, allocations: 59.39 kB / 0.7823 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.01335, allocations: 220.9 kB / 0.7825 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.0134, allocations: 45.69 kB / 0.7825 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.0135, allocations: 140.5 kB / 0.7827 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.01356, allocations: 63.45 kB / 0.7827 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.01372, allocations: 85.86 kB / 0.7828 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002097/0.01393, allocations: 338.8 kB / 0.7831 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.01415, allocations: 203 kB / 0.7833 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.01442, allocations: 293.5 kB / 0.7836 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.01475, allocations: 336.6 kB / 0.7839 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.01476, allocations: 0 / 0.7839 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006012/0.01536, allocations: 0.5342 MB / 0.7845 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.219e-05/0.01545, allocations: 134.8 kB / 0.7846 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.01546, allocations: 4 kB / 0.7846 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.01548, allocations: 4 kB / 0.7846 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.01558, allocations: 31.92 kB / 0.7846 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.01559, allocations: 7.938 kB / 0.7846 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003617/0.01595, allocations: 87.77 kB / 0.7847 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/0.016, allocations: 27.98 kB / 0.7847 GB, free: 4.738 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.0001361/0.01614, allocations: 137.7 kB / 0.7849 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.01617, allocations: 23.92 kB / 0.7849 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.646e-05/0.01622, allocations: 26.27 kB / 0.7849 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.01622, allocations: 4 kB / 0.7849 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01623, allocations: 4 kB / 0.7849 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.01623, allocations: 4.078 kB / 0.7849 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.01663, allocations: 314.6 kB / 0.7852 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01663, allocations: 0 / 0.7852 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-05/0.01673, allocations: 27.92 kB / 0.7853 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01673, allocations: 3.938 kB / 0.7853 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.01674, allocations: 4 kB / 0.7853 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.01675, allocations: 7.938 kB / 0.7853 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01675, allocations: 0 / 0.7853 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.01704, allocations: 248.1 kB / 0.7855 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.854e-05/0.01708, allocations: 27.78 kB / 0.7855 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.0171, allocations: 3.938 kB / 0.7855 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.01719, allocations: 8 kB / 0.7855 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.01723, allocations: 19.91 kB / 0.7856 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.01725, allocations: 8.031 kB / 0.7856 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001016/0.01735, allocations: 74.77 kB / 0.7856 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01735, allocations: 4 kB / 0.7856 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003876/0.01774, allocations: 79.89 kB / 0.7857 GB, free: 3.676 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.0001666/0.0179, allocations: 96.41 kB / 0.7858 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005393/0.01844, allocations: 0.5406 MB / 0.7863 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/0.01845, allocations: 0 / 0.7863 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.991e-05/0.01854, allocations: 56.83 kB / 0.7864 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.01893, allocations: 76.36 kB / 0.7865 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007052/0.01963, allocations: 411.4 kB / 0.7869 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.01976, allocations: 142.1 kB / 0.787 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/0.02006, allocations: 131.3 kB / 0.7871 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of SimCode: time 1.022e-06/0.02006, allocations: 0 / 0.7871 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of Templates: time 0.006751/0.02681, allocations: 3.96 MB / 0.791 GB, free: 14.15 MB / 0.7605 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 > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.1709144450724125]