Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.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.001293/0.001293, allocations: 104.3 kB / 19.7 MB, free: 1.934 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: 217.3 kB / 22.99 MB, free: 4.973 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.9825/0.9825, allocations: 149.9 MB / 463 MB, free: 10.44 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.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Add",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.002119/0.002119, allocations: 69.97 kB / 0.6411 GB, free: 10.18 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1879, allocations: 89.16 MB / 0.7282 GB, free: 1.082 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Add): time 0.002355/0.1903, allocations: 0.7423 MB / 0.7289 GB, free: 348 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.1916, allocations: 0.8822 MB / 0.7297 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.182e-05/0.1916, allocations: 0 / 0.7297 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.606e-05/0.1916, allocations: 7.922 kB / 0.7298 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.745e-05/0.1917, allocations: 11.88 kB / 0.7298 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.1919, allocations: 39.88 kB / 0.7298 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.192, allocations: 83.83 kB / 0.7299 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1921, allocations: 19.98 kB / 0.7299 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.538e-05/0.1922, allocations: 43.84 kB / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.522e-05/0.1923, allocations: 43.77 kB / 0.73 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.1923, allocations: 8 kB / 0.73 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.654e-05/0.1923, allocations: 8 kB / 0.73 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.1924, allocations: 23.91 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.1924, allocations: 31.86 kB / 0.7301 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.1926, allocations: 87.94 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1926, allocations: 0 / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1926, allocations: 0 / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.1926, allocations: 0 / 0.7301 GB, free: 15.04 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.0006975/0.1933, allocations: 330 kB / 0.7305 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.1933, allocations: 12.03 kB / 0.7305 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/0.1934, allocations: 34.75 kB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.1934, allocations: 8.891 kB / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.1936, allocations: 125 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.1936, allocations: 4.375 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.1936, allocations: 8.125 kB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.1939, allocations: 101.6 kB / 0.7307 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1939, allocations: 3.938 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1939, allocations: 8 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1939, allocations: 4 kB / 0.7307 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/0.1944, allocations: 99.88 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.1949, allocations: 303.6 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006289/0.1955, allocations: 114.6 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.1957, allocations: 56.81 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.1958, allocations: 3.938 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.1958, allocations: 34.56 kB / 0.7313 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1958, allocations: 0 / 0.7313 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0007111/0.1965, allocations: 181.5 kB / 0.7315 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.1966, allocations: 55.41 kB / 0.7316 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.1967, allocations: 125.8 kB / 0.7317 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.1967, allocations: 25.7 kB / 0.7317 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.202e-05/0.1968, allocations: 100.1 kB / 0.7318 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.1968, allocations: 19.8 kB / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.1969, allocations: 25.7 kB / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.1971, allocations: 322.8 kB / 0.7322 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.1973, allocations: 47.95 kB / 0.7322 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.1975, allocations: 47.89 kB / 0.7322 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.1978, allocations: 92.78 kB / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1978, allocations: 0 / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004255/0.1982, allocations: 142.1 kB / 0.7325 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1983, allocations: 4 kB / 0.7325 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1983, allocations: 80 / 0.7325 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1983, allocations: 0 / 0.7325 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.1985, allocations: 23.97 kB / 0.7325 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1985, allocations: 11.86 kB / 0.7325 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1986, allocations: 23.86 kB / 0.7325 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1986, allocations: 8 kB / 0.7325 GB, free: 12.39 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,add1.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.0001048/0.1987, allocations: 113.8 kB / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.1988, allocations: 7.953 kB / 0.7327 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.1988, allocations: 8.375 kB / 0.7327 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1988, allocations: 0 / 0.7327 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1988, allocations: 3.938 kB / 0.7327 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1988, allocations: 3.984 kB / 0.7327 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.1991, allocations: 160.7 kB / 0.7328 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1991, allocations: 0 / 0.7328 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.1993, allocations: 27.97 kB / 0.7328 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1993, allocations: 0 / 0.7328 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.1993, allocations: 4 kB / 0.7329 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1993, allocations: 0 / 0.7329 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1993, allocations: 3.938 kB / 0.7329 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.1998, allocations: 235.3 kB / 0.7331 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.1998, allocations: 7.938 kB / 0.7331 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.1998, allocations: 4 kB / 0.7331 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.2, allocations: 19.91 kB / 0.7331 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.589e-05/0.2001, allocations: 23.91 kB / 0.7331 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.2001, allocations: 4 kB / 0.7331 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.005e-05/0.2002, allocations: 95.27 kB / 0.7332 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2002, allocations: 0 / 0.7332 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002362/0.2004, allocations: 15.95 kB / 0.7332 GB, free: 11.6 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 (add1.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.0009093/0.2013, allocations: 0.7709 MB / 0.734 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005108/0.2018, allocations: 103.9 kB / 0.7341 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2018, allocations: 0 / 0.7341 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.2021, allocations: 59.89 kB / 0.7342 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.2024, allocations: 21.95 kB / 0.7342 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.2049, allocations: 1.532 MB / 0.7357 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.262e-05/0.205, allocations: 71.58 kB / 0.7357 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.441e-05/0.205, allocations: 19.92 kB / 0.7358 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.407e-05/0.2051, allocations: 31.42 kB / 0.7358 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.2051, allocations: 0 / 0.7358 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03418/0.2393, allocations: 3.354 MB / 0.7391 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.41, allocations: 8.047 kB / 0.7391 GB, free: 5.66 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Add.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.225722009316087] Failed to read output from testmodel.py, exit status != 0: 11.526313478592783 11.5525376 11.355227015 Calling exit ...