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.001349/0.001349, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001439/0.001439, allocations: 213 kB / 22.99 MB, free: 4.605 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9818/0.9818, allocations: 149.9 MB / 463 MB, free: 10.3 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.00215/0.00215, allocations: 73.92 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1887, allocations: 89.18 MB / 0.7282 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Max): time 0.002052/0.1908, allocations: 0.7354 MB / 0.7289 GB, free: 264 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.1919, allocations: 0.8861 MB / 0.7298 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.441e-05/0.192, allocations: 4 kB / 0.7298 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.428e-05/0.192, allocations: 7.922 kB / 0.7298 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.351e-05/0.1921, allocations: 7.875 kB / 0.7298 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.1923, allocations: 51.88 kB / 0.7298 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.1924, allocations: 79.83 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1926, allocations: 23.98 kB / 0.7299 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.778e-05/0.1926, allocations: 43.78 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.497e-05/0.1927, allocations: 43.83 kB / 0.73 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.1928, allocations: 8 kB / 0.73 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.852e-05/0.1928, allocations: 8 kB / 0.73 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.207e-05/0.1928, allocations: 23.91 kB / 0.73 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.1929, allocations: 31.86 kB / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.193, allocations: 83.94 kB / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.193, allocations: 0 / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.293e-06/0.193, allocations: 0 / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.193, allocations: 0 / 0.7302 GB, free: 14.95 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.0006083/0.1936, allocations: 322 kB / 0.7305 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1937, allocations: 8.031 kB / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.546e-05/0.1937, allocations: 38.75 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.1937, allocations: 12.89 kB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.1939, allocations: 130.3 kB / 0.7306 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.1939, allocations: 8.375 kB / 0.7306 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.1939, allocations: 8.125 kB / 0.7307 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.1942, allocations: 97.61 kB / 0.7307 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1943, allocations: 3.938 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.1943, allocations: 8 kB / 0.7308 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1943, allocations: 0 / 0.7308 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.1947, allocations: 99.89 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.1952, allocations: 295.7 kB / 0.7311 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006132/0.1958, allocations: 114.6 kB / 0.7312 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.196, allocations: 60.75 kB / 0.7313 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.1961, allocations: 0 / 0.7313 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.1961, allocations: 34.56 kB / 0.7313 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.1961, allocations: 0 / 0.7313 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0006904/0.1968, allocations: 181.5 kB / 0.7315 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.1968, allocations: 55.41 kB / 0.7316 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.1969, allocations: 129.8 kB / 0.7317 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.197, allocations: 25.7 kB / 0.7317 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.197, allocations: 96.09 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.1971, allocations: 11.84 kB / 0.7318 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/0.1971, allocations: 29.7 kB / 0.7318 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1973, allocations: 314.8 kB / 0.7321 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.1975, allocations: 47.89 kB / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.1976, allocations: 55.95 kB / 0.7322 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.198, allocations: 92.77 kB / 0.7323 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.198, allocations: 0 / 0.7323 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004328/0.1984, allocations: 138 kB / 0.7325 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1984, allocations: 8 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1985, allocations: 0 / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1985, allocations: 0 / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.1986, allocations: 27.91 kB / 0.7325 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1986, allocations: 7.938 kB / 0.7325 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.1988, allocations: 23.86 kB / 0.7325 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1988, allocations: 4.078 kB / 0.7325 GB, free: 12.32 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.0001152/0.1989, allocations: 113.8 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.1989, allocations: 8 kB / 0.7326 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/0.1994, allocations: 149.9 kB / 0.7328 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1994, allocations: 0 / 0.7328 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1994, allocations: 3.938 kB / 0.7328 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1994, allocations: 4 kB / 0.7328 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.1996, allocations: 156.7 kB / 0.7329 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1996, allocations: 0 / 0.7329 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.1998, allocations: 39.84 kB / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.1998, allocations: 7.984 kB / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.1998, allocations: 7.984 kB / 0.733 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1998, allocations: 0 / 0.733 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.946e-06/0.1998, allocations: 3.938 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/0.2003, allocations: 227.4 kB / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.2003, allocations: 11.94 kB / 0.7332 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.2003, allocations: 4 kB / 0.7332 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.2005, allocations: 11.98 kB / 0.7332 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/0.2006, allocations: 23.91 kB / 0.7333 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.2006, allocations: 4 kB / 0.7333 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.988e-05/0.2006, allocations: 96.91 kB / 0.7334 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2006, allocations: 3.938 kB / 0.7334 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002382/0.2009, allocations: 19.95 kB / 0.7334 GB, free: 11.36 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.0008831/0.2018, allocations: 0.7632 MB / 0.7341 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004342/0.2022, allocations: 107.8 kB / 0.7342 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2022, allocations: 0 / 0.7342 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.2024, allocations: 63.94 kB / 0.7343 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.2028, allocations: 9.812 kB / 0.7343 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.2052, allocations: 1.535 MB / 0.7358 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.223e-05/0.2053, allocations: 81.41 kB / 0.7359 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.69e-05/0.2054, allocations: 15.94 kB / 0.7359 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.748e-05/0.2055, allocations: 31.41 kB / 0.7359 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of SimCode: time 8.52e-07/0.2055, allocations: 0 / 0.7359 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03919/0.2447, allocations: 3.347 MB / 0.7392 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.52, allocations: 3.984 kB / 0.7392 GB, free: 5.438 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 sys.exit(0), Time elapsed: 15.235159715637565] Failed to read output from testmodel.py, exit status != 0: 11.631859288085252 11.662641541 11.464308961 Calling exit ...