Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.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.002635/0.002635, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002918/0.002918, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 1.649/1.649, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 178] 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 3.148/3.148, allocations: 389.5 MB / 0.6343 GB, free: 12.64 MB / 0.6042 GB " [Timeout remaining time 176] 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.Validation.PIDWithEnable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable") translateModel(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 1.001 GB, free: 13.1 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.689e-05/3.973e-05, allocations: 2.281 kB / 1.001 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable): time 0.006519/0.006558, allocations: 3.851 MB / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.006045/0.0126, allocations: 2.634 MB / 1.007 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.01361, allocations: 31.81 kB / 1.007 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006239/0.01423, allocations: 237.5 kB / 1.008 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000849/0.01508, allocations: 265.9 kB / 1.008 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.01673, allocations: 0.7558 MB / 1.009 GB, free: 5.301 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002552/0.01928, allocations: 1.946 MB / 1.011 GB, free: 3.348 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.0205, allocations: 0.6205 MB / 1.011 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/0.02201, allocations: 1.033 MB / 1.012 GB, free: 1.641 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007496/0.02276, allocations: 0.5137 MB / 1.013 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.000566/0.02332, allocations: 216 kB / 1.013 GB, free: 0.9141 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003573/0.02368, allocations: 231.9 kB / 1.013 GB, free: 0.6875 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003687/0.02405, allocations: 398.6 kB / 1.013 GB, free: 304 kB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0006275/0.02468, allocations: 0.5142 MB / 1.014 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.003009/0.02768, allocations: 2.41 MB / 1.016 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.02769, allocations: 0 / 1.016 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.164e-06/0.02769, allocations: 0 / 1.016 GB, free: 13.36 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.911e-05/0.02774, allocations: 0 / 1.016 GB, free: 13.36 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.00388/0.03162, allocations: 2.046 MB / 1.018 GB, free: 11.26 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.03166, allocations: 9.344 kB / 1.018 GB, free: 11.25 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003108/0.03197, allocations: 175.9 kB / 1.019 GB, free: 11.08 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.03337, allocations: 0.7804 MB / 1.019 GB, free: 10.27 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.03347, allocations: 98.7 kB / 1.019 GB, free: 10.17 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002288/0.0337, allocations: 128.3 kB / 1.019 GB, free: 10.04 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002698/0.0364, allocations: 1.292 MB / 1.021 GB, free: 8.672 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/0.03643, allocations: 8.109 kB / 1.021 GB, free: 8.664 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.03653, allocations: 52.36 kB / 1.021 GB, free: 8.613 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/0.03657, allocations: 32.12 kB / 1.021 GB, free: 8.582 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.03857, allocations: 0.8833 MB / 1.022 GB, free: 7.691 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006478/0.04505, allocations: 3.413 MB / 1.025 GB, free: 4.195 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/0.04731, allocations: 0.9371 MB / 1.026 GB, free: 3.258 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009033/0.04822, allocations: 446.5 kB / 1.026 GB, free: 2.82 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 5.97e-05/0.04827, allocations: 12.64 kB / 1.026 GB, free: 2.805 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009892/0.04926, allocations: 448.7 kB / 1.027 GB, free: 2.359 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=85): time 3.035e-06/0.04927, allocations: 0 / 1.027 GB, free: 2.359 MB / 0.9792 GB Notification: Performance of matching and sorting (n=85): time 0.002943/0.05221, allocations: 1.085 MB / 1.028 GB, free: 1.27 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/0.05237, allocations: 196.9 kB / 1.028 GB, free: 1.031 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.05373, allocations: 0.8136 MB / 1.029 GB, free: 212 kB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/0.05387, allocations: 45.7 kB / 1.029 GB, free: 160 kB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007055/0.05458, allocations: 0.5789 MB / 1.029 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/0.05488, allocations: 293.5 kB / 1.03 GB, free: 15.28 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003405/0.05522, allocations: 178.6 kB / 1.03 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002018/0.05542, allocations: 341.9 kB / 1.03 GB, free: 14.76 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/0.05642, allocations: 436.1 kB / 1.031 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.0578, allocations: 0.8627 MB / 1.031 GB, free: 13.33 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.05959, allocations: 0.8178 MB / 1.032 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.0596, allocations: 0 / 1.032 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002708/0.0623, allocations: 1.175 MB / 1.033 GB, free: 11.27 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 8.975e-05/0.06239, allocations: 67.39 kB / 1.034 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.0624, allocations: 0 / 1.034 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/0.06243, allocations: 8 kB / 1.034 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007902/0.06322, allocations: 184 kB / 1.034 GB, free: 11 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.06324, allocations: 8 kB / 1.034 GB, free: 11 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.06449, allocations: 151.4 kB / 1.034 GB, free: 10.85 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.822e-05/0.06457, allocations: 39.98 kB / 1.034 GB, free: 10.81 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001188/0.06576, allocations: 0.5834 MB / 1.034 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00112/0.06688, allocations: 0.7809 MB / 1.035 GB, free: 9.293 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001304/0.06819, allocations: 0.7086 MB / 1.036 GB, free: 8.547 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.298e-06/0.06819, allocations: 4 kB / 1.036 GB, free: 8.543 MB / 0.9948 GB Notification: Performance of matching and sorting (n=106) (initialization_lambda0): time 0.00215/0.07034, allocations: 1.046 MB / 1.037 GB, free: 7.465 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 7.587e-05/0.07042, allocations: 67.39 kB / 1.037 GB, free: 7.387 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.07042, allocations: 4 kB / 1.037 GB, free: 7.383 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.07044, allocations: 8.188 kB / 1.037 GB, free: 7.375 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006396/0.07108, allocations: 155.8 kB / 1.037 GB, free: 7.223 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.07109, allocations: 4 kB / 1.037 GB, free: 7.219 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008528/0.07194, allocations: 147.4 kB / 1.037 GB, free: 7.074 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.277e-05/0.07201, allocations: 32 kB / 1.037 GB, free: 7.043 MB / 0.9948 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,ena.y,$PRE.ena.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 2 * 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.0003709/0.07238, allocations: 247.2 kB / 1.038 GB, free: 6.797 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.07257, allocations: 103.3 kB / 1.038 GB, free: 6.695 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/0.0745, allocations: 0.8361 MB / 1.038 GB, free: 5.852 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.07451, allocations: 8 kB / 1.038 GB, free: 5.844 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.07451, allocations: 3.938 kB / 1.038 GB, free: 5.84 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.07452, allocations: 3.984 kB / 1.038 GB, free: 5.836 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003958/0.07848, allocations: 1.932 MB / 1.04 GB, free: 3.836 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.07849, allocations: 4 kB / 1.04 GB, free: 3.832 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006915/0.07918, allocations: 156 kB / 1.041 GB, free: 3.68 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/0.07919, allocations: 12 kB / 1.041 GB, free: 3.668 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-05/0.07925, allocations: 23.94 kB / 1.041 GB, free: 3.645 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.07926, allocations: 4 kB / 1.041 GB, free: 3.641 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.07927, allocations: 7.984 kB / 1.041 GB, free: 3.633 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003478/0.08274, allocations: 1.363 MB / 1.042 GB, free: 2.23 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.08298, allocations: 123.2 kB / 1.042 GB, free: 2.109 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.08308, allocations: 27.92 kB / 1.042 GB, free: 2.082 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/0.08352, allocations: 47.95 kB / 1.042 GB, free: 2.035 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.08364, allocations: 56.5 kB / 1.042 GB, free: 1.977 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.771e-05/0.0837, allocations: 32.17 kB / 1.042 GB, free: 1.945 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0008945/0.0846, allocations: 0.5537 MB / 1.043 GB, free: 1.395 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1e-07/0.0846, allocations: 3.938 kB / 1.043 GB, free: 1.391 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001355/0.08595, allocations: 498.2 kB / 1.043 GB, free: 0.9023 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (noLimPID.conPID.D.x,noLimPID.conPID.I.y,limPD.conPID.D.x,limPI.conPID.I.y,limPID.conPID.D.x,limPID.conPID.I.y) * Number of discrete variables: 7 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,ena.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * 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 0.0002567/0.08621, allocations: 123.1 kB / 1.043 GB, free: 0.7695 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00332/0.08953, allocations: 1.563 MB / 1.045 GB, free: 15.13 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.08953, allocations: 0 / 1.045 GB, free: 15.13 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000823/0.09036, allocations: 371.5 kB / 1.045 GB, free: 14.77 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.09195, allocations: 308.9 kB / 1.045 GB, free: 14.48 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004172/0.09612, allocations: 1.992 MB / 1.047 GB, free: 12.43 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009493/0.09707, allocations: 0.5057 MB / 1.048 GB, free: 11.89 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006819/0.09775, allocations: 135.4 kB / 1.048 GB, free: 11.75 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.09799, allocations: 80.48 kB / 1.048 GB, free: 11.67 MB / 1.01 GB Notification: Performance of SimCode: time 1.593e-06/0.09799, allocations: 0 / 1.048 GB, free: 11.67 MB / 1.01 GB Notification: Performance of Templates: time 0.5441/0.6421, allocations: 15.93 MB / 1.064 GB, free: 96.39 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.sim & ./Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.34532940480858]