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.001355/0.001355, allocations: 105 kB / 20.48 MB, free: 1.488 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.001757/0.001757, allocations: 214.8 kB / 23.79 MB, free: 4.703 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.496/1.496, allocations: 230.6 MB / 257.6 MB, free: 8.016 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 1.004/1.004, allocations: 150 MB / 464 MB, free: 10.54 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Max",fmuType="cs",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.002659/0.002659, allocations: 65.47 kB / 0.642 GB, free: 10.44 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1985, allocations: 89.16 MB / 0.7291 GB, free: 1.344 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Max): time 0.002029/0.2005, allocations: 0.766 MB / 0.7299 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.2017, allocations: 0.9016 MB / 0.7307 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.601e-05/0.2017, allocations: 0 / 0.7307 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.2018, allocations: 7.875 kB / 0.7308 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.697e-05/0.2019, allocations: 11.91 kB / 0.7308 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.202, allocations: 43.91 kB / 0.7308 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.2022, allocations: 91.75 kB / 0.7309 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.2023, allocations: 15.98 kB / 0.7309 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.304e-05/0.2024, allocations: 43.84 kB / 0.731 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.669e-05/0.2025, allocations: 47.81 kB / 0.731 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.2025, allocations: 8 kB / 0.731 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.648e-05/0.2025, allocations: 8 kB / 0.731 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.909e-05/0.2026, allocations: 23.92 kB / 0.731 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.01e-05/0.2026, allocations: 35.84 kB / 0.7311 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.2028, allocations: 91.88 kB / 0.7312 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2028, allocations: 4 kB / 0.7312 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2028, allocations: 0 / 0.7312 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2028, allocations: 0 / 0.7312 GB, free: 15.24 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.0006278/0.2034, allocations: 321.9 kB / 0.7315 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.2034, allocations: 8.031 kB / 0.7315 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.393e-05/0.2034, allocations: 8.188 kB / 0.7315 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.2035, allocations: 34.69 kB / 0.7315 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.2035, allocations: 12.89 kB / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.2036, allocations: 119.7 kB / 0.7316 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.2037, allocations: 384 / 0.7316 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.2037, allocations: 15.92 kB / 0.7317 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.204, allocations: 104.9 kB / 0.7318 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.204, allocations: 0 / 0.7318 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.204, allocations: 3.938 kB / 0.7318 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.204, allocations: 4 kB / 0.7318 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.2044, allocations: 99.91 kB / 0.7319 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.2049, allocations: 311.7 kB / 0.7322 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006438/0.2056, allocations: 122.5 kB / 0.7323 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.2058, allocations: 60.75 kB / 0.7323 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.2058, allocations: 0 / 0.7323 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.2058, allocations: 30.56 kB / 0.7324 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 7.82e-07/0.2058, allocations: 0 / 0.7324 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0006833/0.2065, allocations: 185.5 kB / 0.7325 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.2065, allocations: 59.33 kB / 0.7326 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.2067, allocations: 121.8 kB / 0.7327 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.2067, allocations: 25.7 kB / 0.7327 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/0.2068, allocations: 96.08 kB / 0.7328 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.2069, allocations: 27.83 kB / 0.7329 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.599e-05/0.2069, allocations: 21.7 kB / 0.7329 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2071, allocations: 318.8 kB / 0.7332 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.2073, allocations: 47.94 kB / 0.7332 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.2074, allocations: 43.95 kB / 0.7333 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/0.2078, allocations: 96.78 kB / 0.7334 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.2078, allocations: 4 kB / 0.7334 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004333/0.2082, allocations: 137.5 kB / 0.7335 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2083, allocations: 4 kB / 0.7335 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.2083, allocations: 0 / 0.7335 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2083, allocations: 8 kB / 0.7335 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.2085, allocations: 27.97 kB / 0.7335 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.2085, allocations: 3.938 kB / 0.7335 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.2086, allocations: 15.94 kB / 0.7336 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.2086, allocations: 3.984 kB / 0.7336 GB, free: 12.59 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 0.0001102/0.2087, allocations: 113.8 kB / 0.7337 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.2087, allocations: 4 kB / 0.7337 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005081/0.2093, allocations: 153.9 kB / 0.7338 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2093, allocations: 4 kB / 0.7338 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2093, allocations: 3.938 kB / 0.7338 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2093, allocations: 3.938 kB / 0.7338 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.2095, allocations: 172.6 kB / 0.734 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2095, allocations: 0 / 0.734 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.2097, allocations: 35.97 kB / 0.734 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2097, allocations: 0 / 0.734 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.2097, allocations: 3.984 kB / 0.734 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2097, allocations: 0 / 0.734 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.2097, allocations: 3.938 kB / 0.734 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004946/0.2102, allocations: 240 kB / 0.7343 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.2102, allocations: 7.938 kB / 0.7343 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.2102, allocations: 4 kB / 0.7343 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.2104, allocations: 11.98 kB / 0.7343 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.581e-05/0.2105, allocations: 23.91 kB / 0.7343 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.2105, allocations: 4 kB / 0.7343 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.585e-05/0.2105, allocations: 94.33 kB / 0.7344 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2105, allocations: 0 / 0.7344 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002364/0.2108, allocations: 23.95 kB / 0.7344 GB, free: 11.63 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.0008394/0.2116, allocations: 0.7788 MB / 0.7352 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004369/0.2121, allocations: 95.91 kB / 0.7353 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2121, allocations: 0 / 0.7353 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.2123, allocations: 63.94 kB / 0.7353 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.2127, allocations: 22.53 kB / 0.7354 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.215, allocations: 1.529 MB / 0.7369 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.2153, allocations: 0.6963 MB / 0.7375 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.937e-05/0.2154, allocations: 8 kB / 0.7375 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.174e-05/0.2155, allocations: 31.42 kB / 0.7376 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of SimCode: time 6.72e-07/0.2155, allocations: 0 / 0.7376 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.244, allocations: 2.869 MB / 0.7404 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.44, allocations: 13.84 kB / 0.7404 GB, free: 5.555 MB / 0.5606 GB " [Timeout remaining time 648] (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 os._exit(0), Time elapsed: 15.349266064004041] Failed to read output from testmodel.py, exit status != 0: 11.605773242015857 11.636424418 11.428113778 Calling exit ...