Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001357, allocations: 104.3 kB / 17.07 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 193.2 kB / 20.03 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.162/1.162, allocations: 147.6 MB / 445.5 MB, free: 8.258 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 66.33 kB / 0.611 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1927, allocations: 83.14 MB / 0.6921 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Max): time 0.00221/0.195, allocations: 0.698 MB / 0.6928 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1961, allocations: 0.8008 MB / 0.6936 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.1962, allocations: 0 / 0.6936 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.1962, allocations: 3.938 kB / 0.6936 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.528e-05/0.1963, allocations: 17.06 kB / 0.6936 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001001/0.1964, allocations: 11.17 kB / 0.6936 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.1965, allocations: 52.45 kB / 0.6937 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1966, allocations: 12.55 kB / 0.6937 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.985e-05/0.1967, allocations: 17.14 kB / 0.6937 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.222e-05/0.1968, allocations: 17.33 kB / 0.6937 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.1968, allocations: 4.406 kB / 0.6937 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.1968, allocations: 7.031 kB / 0.6937 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.1969, allocations: 9.734 kB / 0.6938 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.1969, allocations: 23.34 kB / 0.6938 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.813e-05/0.197, allocations: 39.17 kB / 0.6938 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.197, allocations: 2 kB / 0.6938 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.074e-06/0.197, allocations: 0 / 0.6938 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.197, allocations: 0 / 0.6938 GB, free: 12.05 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006185/0.1977, allocations: 360.3 kB / 0.6942 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1977, allocations: 12.94 kB / 0.6942 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.1978, allocations: 36.56 kB / 0.6942 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.652e-05/0.1978, allocations: 10.61 kB / 0.6942 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.1979, allocations: 170.1 kB / 0.6944 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.198, allocations: 2.188 kB / 0.6944 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.198, allocations: 2.156 kB / 0.6944 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.1982, allocations: 71.77 kB / 0.6945 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1983, allocations: 3.938 kB / 0.6945 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.1983, allocations: 0 / 0.6945 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1983, allocations: 5.312 kB / 0.6945 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.1986, allocations: 65.33 kB / 0.6945 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.199, allocations: 268.8 kB / 0.6948 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.1994, allocations: 55.89 kB / 0.6948 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.1995, allocations: 40 kB / 0.6949 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.1996, allocations: 0 / 0.6949 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.1996, allocations: 31.94 kB / 0.6949 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.1996, allocations: 0 / 0.6949 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0006087/0.2002, allocations: 129.9 kB / 0.695 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.2003, allocations: 56.77 kB / 0.6951 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.2004, allocations: 107.4 kB / 0.6952 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.2005, allocations: 29.69 kB / 0.6952 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.2005, allocations: 90.84 kB / 0.6953 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.2005, allocations: 17.31 kB / 0.6953 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.2006, allocations: 12.47 kB / 0.6953 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.2008, allocations: 320.2 kB / 0.6956 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.2009, allocations: 24.47 kB / 0.6957 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.2011, allocations: 33.83 kB / 0.6957 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.2014, allocations: 71.67 kB / 0.6958 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2014, allocations: 4 kB / 0.6958 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003589/0.2018, allocations: 109.8 kB / 0.6959 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2018, allocations: 5.281 kB / 0.6959 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2018, allocations: 48 / 0.6959 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2018, allocations: 9.016 kB / 0.6959 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.202, allocations: 14.67 kB / 0.6959 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.202, allocations: 0 / 0.6959 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.038e-05/0.2021, allocations: 11.52 kB / 0.6959 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.2021, allocations: 5.156 kB / 0.6959 GB, free: 10.04 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001541/0.2022, allocations: 110.8 kB / 0.696 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.2023, allocations: 10.42 kB / 0.696 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004037/0.2027, allocations: 108 kB / 0.6961 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2027, allocations: 1.594 kB / 0.6961 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2027, allocations: 0 / 0.6961 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2027, allocations: 0 / 0.6961 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.203, allocations: 169.7 kB / 0.6963 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.203, allocations: 0 / 0.6963 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.2031, allocations: 23.19 kB / 0.6963 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2031, allocations: 0 / 0.6963 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2031, allocations: 1.312 kB / 0.6963 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2031, allocations: 0 / 0.6963 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2031, allocations: 0 / 0.6963 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.2036, allocations: 204.6 kB / 0.6965 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.287e-05/0.2037, allocations: 82.2 kB / 0.6966 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.2037, allocations: 5.078 kB / 0.6966 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.2038, allocations: 10.86 kB / 0.6966 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.2039, allocations: 5.219 kB / 0.6966 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.2039, allocations: 5.094 kB / 0.6966 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.315e-05/0.204, allocations: 86.89 kB / 0.6967 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.204, allocations: 0 / 0.6967 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002157/0.2042, allocations: 9.688 kB / 0.6967 GB, free: 9.238 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0009776/0.2052, allocations: 0.7301 MB / 0.6974 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003426/0.2055, allocations: 75.14 kB / 0.6975 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2055, allocations: 0 / 0.6975 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.2057, allocations: 32.59 kB / 0.6975 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.206, allocations: 10.09 kB / 0.6975 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.2065, allocations: 148.1 kB / 0.6977 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.2068, allocations: 0.6836 MB / 0.6983 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.821e-05/0.2069, allocations: 1.562 kB / 0.6983 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.2069, allocations: 14.06 kB / 0.6984 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.2069, allocations: 0 / 0.6984 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.2331, allocations: 1.627 MB / 0.6999 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.095, allocations: 10.25 kB / 0.7 GB, free: 6.613 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Max.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.054953369079158] Failed to read output from testmodel.py, exit status != 0: 8.519964430946857 8.175292138 7.975654059 Calling exit ...