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.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.001296/0.001296, allocations: 115 kB / 19.7 MB, free: 2.043 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.001414/0.001414, allocations: 225.4 kB / 23.01 MB, free: 4.945 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.478/1.478, 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 1.021/1.021, allocations: 150 MB / 463.2 MB, free: 10.49 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.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: 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.003172/0.003172, allocations: 65.08 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1942, allocations: 89.17 MB / 0.7284 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Max): time 0.001976/0.1962, allocations: 0.7001 MB / 0.7291 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1973, allocations: 0.8354 MB / 0.7299 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.655e-05/0.1973, allocations: 0 / 0.7299 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.475e-05/0.1973, allocations: 3.938 kB / 0.7299 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.718e-05/0.1974, allocations: 7.938 kB / 0.7299 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 9.834e-05/0.1975, allocations: 15.98 kB / 0.7299 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.132e-05/0.1976, allocations: 43.86 kB / 0.73 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.1977, allocations: 11.98 kB / 0.73 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.78e-05/0.1978, allocations: 23.91 kB / 0.73 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.469e-05/0.1978, allocations: 19.92 kB / 0.73 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.1978, allocations: 4 kB / 0.73 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.232e-05/0.1978, allocations: 7.938 kB / 0.73 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.1979, allocations: 4 kB / 0.73 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.1979, allocations: 19.92 kB / 0.73 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.198, allocations: 44.03 kB / 0.7301 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.198, allocations: 0 / 0.7301 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.143e-06/0.198, allocations: 0 / 0.7301 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.198, allocations: 4 kB / 0.7301 GB, free: 15.46 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005292/0.1985, allocations: 282.2 kB / 0.7304 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1986, allocations: 12.03 kB / 0.7304 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.1986, allocations: 38.73 kB / 0.7304 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.1986, allocations: 4.938 kB / 0.7304 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.1988, allocations: 114.4 kB / 0.7305 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.1988, allocations: 4.375 kB / 0.7305 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1988, allocations: 4.375 kB / 0.7305 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.199, allocations: 74.16 kB / 0.7306 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.199, allocations: 3.938 kB / 0.7306 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.199, allocations: 0 / 0.7306 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1991, allocations: 3.984 kB / 0.7306 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.1993, allocations: 59.94 kB / 0.7307 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.1997, allocations: 243.9 kB / 0.7309 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.1999, allocations: 58.47 kB / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.2001, allocations: 36.92 kB / 0.731 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.2001, allocations: 4 kB / 0.731 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.2001, allocations: 34.56 kB / 0.731 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.2001, allocations: 0 / 0.731 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005285/0.2006, allocations: 129.5 kB / 0.7312 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.2007, allocations: 59.34 kB / 0.7312 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.263e-05/0.2008, allocations: 105.8 kB / 0.7313 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.2008, allocations: 25.7 kB / 0.7313 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.2008, allocations: 88.14 kB / 0.7314 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.2008, allocations: 7.938 kB / 0.7314 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.2009, allocations: 17.72 kB / 0.7314 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.201, allocations: 310.8 kB / 0.7317 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.2012, allocations: 39.95 kB / 0.7318 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.2013, allocations: 31.97 kB / 0.7318 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.2016, allocations: 76.94 kB / 0.7319 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2016, allocations: 0 / 0.7319 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003229/0.2019, allocations: 105.6 kB / 0.732 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2019, allocations: 7.938 kB / 0.732 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2019, allocations: 0 / 0.732 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.2019, allocations: 0 / 0.732 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.2021, allocations: 19.97 kB / 0.732 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.2021, allocations: 0 / 0.732 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.594e-05/0.2022, allocations: 19.98 kB / 0.732 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.2022, allocations: 0 / 0.732 GB, free: 13.29 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: 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 9.374e-05/0.2023, allocations: 115.8 kB / 0.7321 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.2023, allocations: 3.953 kB / 0.7321 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/0.2027, allocations: 105.6 kB / 0.7322 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2027, allocations: 0 / 0.7322 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2027, allocations: 4 kB / 0.7322 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2027, allocations: 0 / 0.7322 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.2029, allocations: 148.6 kB / 0.7324 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2029, allocations: 3.938 kB / 0.7324 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.963e-05/0.203, allocations: 15.98 kB / 0.7324 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.203, allocations: 0 / 0.7324 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.203, allocations: 0 / 0.7324 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.203, allocations: 0 / 0.7324 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.203, allocations: 0 / 0.7324 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.2034, allocations: 203.4 kB / 0.7326 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.2034, allocations: 3.953 kB / 0.7326 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.2034, allocations: 0 / 0.7326 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.2035, allocations: 15.92 kB / 0.7326 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.2035, allocations: 7.984 kB / 0.7326 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.2035, allocations: 8 kB / 0.7326 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.503e-05/0.2036, allocations: 79.28 kB / 0.7327 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2036, allocations: 0 / 0.7327 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002252/0.2038, allocations: 12 kB / 0.7327 GB, free: 12.49 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: 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.0007541/0.2046, allocations: 0.7318 MB / 0.7334 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003297/0.2049, allocations: 67.92 kB / 0.7335 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2049, allocations: 0 / 0.7335 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.2051, allocations: 43.89 kB / 0.7335 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.2054, allocations: 7.938 kB / 0.7336 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.2058, allocations: 155.1 kB / 0.7337 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.2061, allocations: 0.6807 MB / 0.7344 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.943e-05/0.2062, allocations: 4 kB / 0.7344 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.2062, allocations: 19.42 kB / 0.7344 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.2062, allocations: 0 / 0.7344 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.2339, allocations: 1.737 MB / 0.7361 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.2, allocations: 5.203 kB / 0.7361 GB, free: 9.094 MB / 0.5606 GB " [Timeout remaining time 649] (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: 15.052882849005982] Failed to read output from testmodel.py, exit status != 0: 11.31045463704504 11.340240352 11.1364911 Calling exit ...