Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001412/0.001412, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001504/0.001504, allocations: 217.4 kB / 22.99 MB, free: 4.977 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.9749/0.9749, allocations: 149.9 MB / 463 MB, free: 10.4 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.LessEqualThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.00213/0.00213, allocations: 66.44 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1906, allocations: 89.18 MB / 0.7282 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002077/0.1927, allocations: 0.6821 MB / 0.7288 GB, free: 376 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.1939, allocations: 0.851 MB / 0.7297 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.915e-05/0.1939, allocations: 0 / 0.7297 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.84e-05/0.194, allocations: 11.94 kB / 0.7297 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.072e-05/0.1941, allocations: 3.938 kB / 0.7297 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.1942, allocations: 23.91 kB / 0.7297 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.1943, allocations: 51.89 kB / 0.7297 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1944, allocations: 11.94 kB / 0.7298 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.723e-05/0.1945, allocations: 15.98 kB / 0.7298 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.1946, allocations: 19.86 kB / 0.7298 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.1946, allocations: 4 kB / 0.7298 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.43e-05/0.1946, allocations: 4 kB / 0.7298 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.1946, allocations: 19.97 kB / 0.7298 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.1947, allocations: 19.92 kB / 0.7298 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.1948, allocations: 48.02 kB / 0.7299 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1948, allocations: 0 / 0.7299 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1948, allocations: 0 / 0.7299 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.1948, allocations: 0 / 0.7299 GB, free: 15.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005579/0.1954, allocations: 282.2 kB / 0.7302 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1954, allocations: 12.03 kB / 0.7302 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.1955, allocations: 34.75 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.524e-05/0.1955, allocations: 0.9375 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.1956, allocations: 126.3 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1956, allocations: 8.375 kB / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.1957, allocations: 4.125 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.1959, allocations: 65.66 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1959, allocations: 0 / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1959, allocations: 4 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1959, allocations: 0 / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.1961, allocations: 47.95 kB / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.1966, allocations: 251.9 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.1968, allocations: 66.58 kB / 0.7307 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.1969, allocations: 32.88 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.1969, allocations: 0 / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.1969, allocations: 30.56 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.1969, allocations: 4 kB / 0.7308 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0004308/0.1974, allocations: 105.5 kB / 0.7309 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1974, allocations: 59.41 kB / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.1975, allocations: 113.9 kB / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1975, allocations: 25.7 kB / 0.7311 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.1976, allocations: 96.06 kB / 0.7312 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.1976, allocations: 7.906 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.1977, allocations: 17.72 kB / 0.7312 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.1978, allocations: 318.8 kB / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.1979, allocations: 27.92 kB / 0.7316 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.382e-05/0.198, allocations: 23.97 kB / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.1982, allocations: 60.75 kB / 0.7316 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1982, allocations: 0 / 0.7316 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003434/0.1986, allocations: 81.64 kB / 0.7317 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1986, allocations: 5.875 kB / 0.7317 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1986, allocations: 0 / 0.7317 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1986, allocations: 4 kB / 0.7317 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1987, allocations: 11.98 kB / 0.7317 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.1987, allocations: 4 kB / 0.7317 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.945e-05/0.1988, allocations: 19.88 kB / 0.7318 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.1988, allocations: 7.938 kB / 0.7318 GB, free: 13.16 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: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.67e-05/0.1989, allocations: 109.8 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.1989, allocations: 336 / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.199, allocations: 12 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.199, allocations: 3.984 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.199, allocations: 0 / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.199, allocations: 3.938 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.1992, allocations: 148.7 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1992, allocations: 0 / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.846e-05/0.1993, allocations: 11.98 kB / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1993, allocations: 0 / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.1993, allocations: 0 / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1993, allocations: 0 / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1993, allocations: 0 / 0.732 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.1996, allocations: 187.4 kB / 0.7322 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.1996, allocations: 0 / 0.7322 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.1996, allocations: 4 kB / 0.7322 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1997, allocations: 11.98 kB / 0.7322 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.1998, allocations: 11.98 kB / 0.7322 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.1998, allocations: 4 kB / 0.7322 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.842e-05/0.1999, allocations: 87.2 kB / 0.7323 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1999, allocations: 3.938 kB / 0.7323 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00023/0.2001, allocations: 12 kB / 0.7323 GB, free: 12.48 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: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006684/0.2008, allocations: 0.7085 MB / 0.733 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002719/0.201, allocations: 55.94 kB / 0.7331 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.201, allocations: 11.81 kB / 0.7331 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.2012, allocations: 31.97 kB / 0.7331 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.2015, allocations: 4 kB / 0.7331 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.2032, allocations: 1.327 MB / 0.7344 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.354e-05/0.2033, allocations: 63.34 kB / 0.7345 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.668e-05/0.2033, allocations: 4 kB / 0.7345 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/0.2034, allocations: 23.42 kB / 0.7345 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.2034, allocations: 4 kB / 0.7345 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.2325, allocations: 2.422 MB / 0.7369 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.39, allocations: 1.891 kB / 0.7369 GB, free: 7.855 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.242719881236553] Failed to read output from testmodel.py, exit status != 0: 11.507699430920184 11.537214967 11.337053306 Calling exit ...