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.001406/0.001406, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001469/0.001469, allocations: 216.7 kB / 23.78 MB, free: 4.523 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.511/1.511, allocations: 230.6 MB / 257.6 MB, free: 7.797 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.9761/0.9761, allocations: 150 MB / 463.9 MB, free: 10.23 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_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.002036/0.002036, allocations: 61.94 kB / 0.642 GB, free: 9.883 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1885, allocations: 89.17 MB / 0.7291 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Max): time 0.001917/0.1904, allocations: 0.6812 MB / 0.7298 GB, free: 108 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1915, allocations: 0.8199 MB / 0.7306 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.1915, allocations: 0 / 0.7306 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.1915, allocations: 3.938 kB / 0.7306 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.678e-05/0.1916, allocations: 15.84 kB / 0.7306 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001032/0.1917, allocations: 19.98 kB / 0.7306 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.56e-05/0.1918, allocations: 43.86 kB / 0.7306 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.348e-05/0.1919, allocations: 11.98 kB / 0.7306 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.568e-05/0.192, allocations: 16 kB / 0.7307 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.963e-05/0.192, allocations: 23.84 kB / 0.7307 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.192, allocations: 4 kB / 0.7307 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.1921, allocations: 4 kB / 0.7307 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.1921, allocations: 4 kB / 0.7307 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.1921, allocations: 19.91 kB / 0.7307 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.1922, allocations: 44.09 kB / 0.7308 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1922, allocations: 0 / 0.7308 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1922, allocations: 0 / 0.7308 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1922, allocations: 4 kB / 0.7308 GB, free: 15.06 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.0004969/0.1927, allocations: 282.2 kB / 0.731 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1928, allocations: 12.03 kB / 0.731 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.191e-05/0.1928, allocations: 4.125 kB / 0.731 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.356e-05/0.1928, allocations: 38.69 kB / 0.7311 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/0.1928, allocations: 8.922 kB / 0.7311 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.193, allocations: 118.4 kB / 0.7312 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.193, allocations: 384 / 0.7312 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.193, allocations: 384 / 0.7312 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.1932, allocations: 77.97 kB / 0.7313 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.1932, allocations: 0 / 0.7313 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.1932, allocations: 0 / 0.7313 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1932, allocations: 0 / 0.7313 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.1935, allocations: 71.86 kB / 0.7313 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.1939, allocations: 228 kB / 0.7316 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.1941, allocations: 58.53 kB / 0.7316 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.1943, allocations: 36.91 kB / 0.7317 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.1943, allocations: 4 kB / 0.7317 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1943, allocations: 30.56 kB / 0.7317 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1943, allocations: 0 / 0.7317 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005384/0.1949, allocations: 137.4 kB / 0.7318 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.1949, allocations: 51.41 kB / 0.7319 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.195, allocations: 117.8 kB / 0.732 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.195, allocations: 25.7 kB / 0.732 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/0.1951, allocations: 92.12 kB / 0.7321 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.1951, allocations: 7.938 kB / 0.7321 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.1951, allocations: 13.72 kB / 0.7321 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1953, allocations: 326.8 kB / 0.7324 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.1954, allocations: 27.97 kB / 0.7324 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.1956, allocations: 31.97 kB / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.1958, allocations: 72.72 kB / 0.7325 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1958, allocations: 4 kB / 0.7326 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003006/0.1961, allocations: 97.58 kB / 0.7326 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1961, allocations: 7.984 kB / 0.7327 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1961, allocations: 0 / 0.7327 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1962, allocations: 0 / 0.7327 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.1963, allocations: 15.98 kB / 0.7327 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1963, allocations: 0 / 0.7327 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.434e-05/0.1964, allocations: 15.98 kB / 0.7327 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.1964, allocations: 0 / 0.7327 GB, free: 12.89 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 8.639e-05/0.1965, allocations: 123.7 kB / 0.7328 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.1965, allocations: 3.953 kB / 0.7328 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003501/0.1968, allocations: 113.9 kB / 0.7329 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1968, allocations: 4.031 kB / 0.7329 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1968, allocations: 4 kB / 0.7329 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1968, allocations: 0 / 0.7329 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.197, allocations: 136.6 kB / 0.7331 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.197, allocations: 0 / 0.7331 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.548e-05/0.1971, allocations: 15.98 kB / 0.7331 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1971, allocations: 0 / 0.7331 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.1971, allocations: 0 / 0.7331 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1971, allocations: 0 / 0.7331 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.1971, allocations: 3.984 kB / 0.7331 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.1975, allocations: 203.4 kB / 0.7333 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.1975, allocations: 3.953 kB / 0.7333 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.1975, allocations: 4 kB / 0.7333 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1976, allocations: 7.984 kB / 0.7333 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.1977, allocations: 11.98 kB / 0.7333 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.1977, allocations: 4 kB / 0.7333 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.407e-05/0.1977, allocations: 91.27 kB / 0.7334 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1977, allocations: 4 kB / 0.7334 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000213/0.1979, allocations: 4 kB / 0.7334 GB, free: 12.09 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.0006815/0.1986, allocations: 0.7318 MB / 0.7341 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003251/0.199, allocations: 75.86 kB / 0.7342 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.199, allocations: 0 / 0.7342 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.1991, allocations: 31.97 kB / 0.7342 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.1994, allocations: 4 kB / 0.7342 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004817/0.1999, allocations: 155.1 kB / 0.7344 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.343e-05/0.2, allocations: 71.34 kB / 0.7344 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.867e-05/0.2, allocations: 3.984 kB / 0.7344 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.2, allocations: 11.44 kB / 0.7344 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.2, allocations: 3.938 kB / 0.7344 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.2215, allocations: 1.817 MB / 0.7362 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.55, allocations: 12.92 kB / 0.7362 GB, free: 9.246 MB / 0.5606 GB " [Timeout remaining time 648] (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.498951846035197] Failed to read output from testmodel.py, exit status != 0: 11.721503705950454 11.75058288 11.553036894 Calling exit ...