Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.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.001483/0.001483, allocations: 111.3 kB / 17.12 MB, free: 5.926 MB / 14.72 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.001582/0.001582, allocations: 204 kB / 20.09 MB, free: 2.977 MB / 14.72 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.65/1.65, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9692/0.9692, allocations: 150 MB / 459.5 MB, free: 5.359 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 69.97 kB / 0.6366 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1924, allocations: 89.13 MB / 0.7236 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Max): time 0.002253/0.1947, allocations: 0.7641 MB / 0.7244 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1958, allocations: 0.8995 MB / 0.7253 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.1959, allocations: 0 / 0.7253 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.1959, allocations: 7.922 kB / 0.7253 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.196, allocations: 15.86 kB / 0.7253 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.1962, allocations: 43.89 kB / 0.7253 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.1963, allocations: 83.88 kB / 0.7254 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1965, allocations: 31.84 kB / 0.7254 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.502e-05/0.1965, allocations: 31.92 kB / 0.7255 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.29e-05/0.1966, allocations: 51.81 kB / 0.7255 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.1967, allocations: 8 kB / 0.7255 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.746e-05/0.1967, allocations: 11.94 kB / 0.7255 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.1967, allocations: 19.91 kB / 0.7255 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.74e-05/0.1968, allocations: 39.78 kB / 0.7256 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.1969, allocations: 87.66 kB / 0.7257 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1969, allocations: 4 kB / 0.7257 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1969, allocations: 0 / 0.7257 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1969, allocations: 0 / 0.7257 GB, free: 1.609 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007506/0.1977, allocations: 395.1 kB / 0.726 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1977, allocations: 12.03 kB / 0.7261 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.1978, allocations: 8.891 kB / 0.7261 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.198, allocations: 176.3 kB / 0.7262 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.198, allocations: 4.375 kB / 0.7262 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.198, allocations: 4.375 kB / 0.7262 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.1984, allocations: 111.9 kB / 0.7264 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1984, allocations: 0 / 0.7264 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.1984, allocations: 4 kB / 0.7264 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1984, allocations: 4 kB / 0.7264 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003904/0.1988, allocations: 99.89 kB / 0.7265 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.1994, allocations: 348.6 kB / 0.7268 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000662/0.2, allocations: 114.6 kB / 0.7269 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.2002, allocations: 56.81 kB / 0.727 GB, free: 148 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.2002, allocations: 0 / 0.727 GB, free: 148 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.2003, allocations: 34.5 kB / 0.727 GB, free: 104 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.2003, allocations: 0 / 0.727 GB, free: 104 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0007127/0.201, allocations: 185.7 kB / 0.7272 GB, free: 15.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.201, allocations: 51.41 kB / 0.7272 GB, free: 15.85 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.2011, allocations: 121.6 kB / 0.7273 GB, free: 15.72 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.2012, allocations: 29.7 kB / 0.7274 GB, free: 15.69 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.2012, allocations: 96.08 kB / 0.7274 GB, free: 15.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.2013, allocations: 27.78 kB / 0.7275 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.2013, allocations: 25.7 kB / 0.7275 GB, free: 15.53 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2014, allocations: 318.8 kB / 0.7278 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.2016, allocations: 47.95 kB / 0.7278 GB, free: 15.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.2018, allocations: 43.95 kB / 0.7279 GB, free: 15.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.2022, allocations: 100.7 kB / 0.728 GB, free: 15.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2022, allocations: 0 / 0.728 GB, free: 15.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000471/0.2027, allocations: 129.6 kB / 0.7281 GB, free: 14.89 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2027, allocations: 8 kB / 0.7281 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2027, allocations: 3.938 kB / 0.7281 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.2027, allocations: 0 / 0.7281 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.2029, allocations: 31.97 kB / 0.7281 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.2029, allocations: 3.938 kB / 0.7282 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.203, allocations: 23.88 kB / 0.7282 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.203, allocations: 3.984 kB / 0.7282 GB, free: 14.81 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001126/0.2031, allocations: 117.8 kB / 0.7283 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.2032, allocations: 4 kB / 0.7283 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005091/0.2037, allocations: 158.4 kB / 0.7284 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2037, allocations: 0 / 0.7284 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.2037, allocations: 3.938 kB / 0.7285 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2037, allocations: 3.984 kB / 0.7285 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.2039, allocations: 193.6 kB / 0.7286 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2039, allocations: 0 / 0.7286 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.2041, allocations: 23.97 kB / 0.7287 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2041, allocations: 7.938 kB / 0.7287 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.2041, allocations: 7.984 kB / 0.7287 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2041, allocations: 0 / 0.7287 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2041, allocations: 3.938 kB / 0.7287 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/0.2046, allocations: 235.5 kB / 0.7289 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/0.2047, allocations: 93.03 kB / 0.729 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.2047, allocations: 0 / 0.729 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.2048, allocations: 15.98 kB / 0.729 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.33e-05/0.2049, allocations: 27.91 kB / 0.729 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.2049, allocations: 0 / 0.729 GB, free: 13.83 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.546e-05/0.205, allocations: 98.33 kB / 0.7291 GB, free: 13.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.205, allocations: 0 / 0.7291 GB, free: 13.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002311/0.2052, allocations: 15.95 kB / 0.7291 GB, free: 13.72 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001418/0.2054, allocations: 107.2 kB / 0.7292 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004441/0.2058, allocations: 99.89 kB / 0.7293 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2058, allocations: 0 / 0.7293 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.206, allocations: 59.89 kB / 0.7294 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.2063, allocations: 17.55 kB / 0.7294 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.2068, allocations: 170.1 kB / 0.7296 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.2071, allocations: 0.6924 MB / 0.7303 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.906e-05/0.2072, allocations: 15.98 kB / 0.7303 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.805e-05/0.2072, allocations: 15.42 kB / 0.7303 GB, free: 12.49 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.2072, allocations: 3.938 kB / 0.7303 GB, free: 12.48 MB / 0.545 GB Notification: Performance of Templates: time 0.004445/0.2117, allocations: 1.587 MB / 0.7318 GB, free: 10.91 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.220865886891261] Failed to read output from testmodel.py, exit status != 0: 0.21921022096648812 0.23253926000000003 0.032881293 Calling exit ...