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.001266/0.001266, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001638/0.001638, allocations: 219.7 kB / 23.01 MB, free: 5.004 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.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9339/0.9339, allocations: 150 MB / 463.2 MB, free: 10.5 MB / 366.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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [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.002138/0.002138, allocations: 67.83 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1847, allocations: 89.17 MB / 0.7284 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Max): time 0.002113/0.1868, allocations: 0.7638 MB / 0.7291 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.188, allocations: 0.9016 MB / 0.73 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.209e-05/0.1881, allocations: 0 / 0.73 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.298e-05/0.1881, allocations: 7.875 kB / 0.73 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.936e-05/0.1882, allocations: 11.88 kB / 0.73 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.1884, allocations: 47.89 kB / 0.73 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.1885, allocations: 79.88 kB / 0.7301 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1887, allocations: 19.98 kB / 0.7301 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.381e-05/0.1887, allocations: 39.8 kB / 0.7302 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.781e-05/0.1888, allocations: 51.81 kB / 0.7302 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.1889, allocations: 8 kB / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.699e-05/0.1889, allocations: 8 kB / 0.7302 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.169e-05/0.1889, allocations: 19.92 kB / 0.7303 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.189, allocations: 35.84 kB / 0.7303 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.1891, allocations: 87.88 kB / 0.7304 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1891, allocations: 8 kB / 0.7304 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1891, allocations: 0 / 0.7304 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.1891, allocations: 0 / 0.7304 GB, free: 15.18 MB / 0.5606 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.000663/0.1898, allocations: 322 kB / 0.7307 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1898, allocations: 8.031 kB / 0.7307 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.792e-05/0.1899, allocations: 42.62 kB / 0.7307 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.1899, allocations: 8.891 kB / 0.7308 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.1901, allocations: 118.5 kB / 0.7309 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.1901, allocations: 8.375 kB / 0.7309 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.1901, allocations: 8.125 kB / 0.7309 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.1904, allocations: 105.4 kB / 0.731 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1904, allocations: 0 / 0.731 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1905, allocations: 4 kB / 0.731 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1905, allocations: 4 kB / 0.731 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003579/0.1908, allocations: 103.8 kB / 0.7311 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005827/0.1914, allocations: 311.7 kB / 0.7314 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006207/0.192, allocations: 118.4 kB / 0.7315 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.1922, allocations: 60.88 kB / 0.7316 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1923, allocations: 0 / 0.7316 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.1923, allocations: 30.56 kB / 0.7316 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.1923, allocations: 0 / 0.7316 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.000656/0.1929, allocations: 193.7 kB / 0.7318 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.193, allocations: 51.41 kB / 0.7318 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.1931, allocations: 131.2 kB / 0.7319 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.1931, allocations: 25.7 kB / 0.732 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.1932, allocations: 96.09 kB / 0.7321 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.1932, allocations: 19.84 kB / 0.7321 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.1933, allocations: 21.7 kB / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1934, allocations: 322.8 kB / 0.7324 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.1936, allocations: 47.95 kB / 0.7325 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.1938, allocations: 43.95 kB / 0.7325 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.1941, allocations: 96.77 kB / 0.7326 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1941, allocations: 0 / 0.7326 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003855/0.1945, allocations: 133.6 kB / 0.7327 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1945, allocations: 6.188 kB / 0.7327 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1945, allocations: 4 kB / 0.7327 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1945, allocations: 3.938 kB / 0.7327 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.1947, allocations: 27.97 kB / 0.7328 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.1947, allocations: 3.938 kB / 0.7328 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.1948, allocations: 23.92 kB / 0.7328 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1948, allocations: 0 / 0.7328 GB, free: 12.54 MB / 0.5606 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 9.934e-05/0.1949, allocations: 113.8 kB / 0.7329 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.1949, allocations: 4 kB / 0.7329 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004456/0.1954, allocations: 161.8 kB / 0.7331 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1954, allocations: 4 kB / 0.7331 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.1954, allocations: 11.88 kB / 0.7331 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1954, allocations: 0 / 0.7331 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.1956, allocations: 172.6 kB / 0.7332 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1956, allocations: 4 kB / 0.7332 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.1958, allocations: 23.97 kB / 0.7333 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1958, allocations: 4 kB / 0.7333 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1958, allocations: 4 kB / 0.7333 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1958, allocations: 0 / 0.7333 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1958, allocations: 3.938 kB / 0.7333 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004398/0.1962, allocations: 231.4 kB / 0.7335 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.1962, allocations: 11.94 kB / 0.7335 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.1963, allocations: 0 / 0.7335 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.1964, allocations: 23.91 kB / 0.7335 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/0.1965, allocations: 23.91 kB / 0.7335 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.1965, allocations: 4 kB / 0.7335 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.01e-05/0.1965, allocations: 94.55 kB / 0.7336 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1965, allocations: 4 kB / 0.7336 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002412/0.1968, allocations: 15.95 kB / 0.7337 GB, free: 11.57 MB / 0.5606 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.0007569/0.1975, allocations: 0.7632 MB / 0.7344 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003961/0.1979, allocations: 112.4 kB / 0.7345 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1979, allocations: 0 / 0.7345 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.1982, allocations: 60.11 kB / 0.7346 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.1985, allocations: 16.06 kB / 0.7346 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.2007, allocations: 1.533 MB / 0.7361 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.201, allocations: 0.6885 MB / 0.7368 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.272e-05/0.2011, allocations: 15.98 kB / 0.7368 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.022e-05/0.2012, allocations: 31.42 kB / 0.7368 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.2012, allocations: 4 kB / 0.7368 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.2301, allocations: 2.833 MB / 0.7396 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.76, allocations: 18.2 kB / 0.7396 GB, free: 5.512 MB / 0.5606 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Max.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.412734918994829] Failed to read output from testmodel.py, exit status != 0: 10.859371828846633 10.87642512 10.684111558 Calling exit ...