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.001262/0.001262, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.001393/0.001393, allocations: 212.4 kB / 23.04 MB, free: 4.887 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.773 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.9965/0.9965, allocations: 150 MB / 463.2 MB, free: 10.19 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.002061/0.002061, allocations: 69.86 kB / 0.6413 GB, free: 9.828 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1895, allocations: 89.18 MB / 0.7284 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Add): time 0.002243/0.1917, allocations: 0.7367 MB / 0.7291 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.193, allocations: 0.882 MB / 0.73 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.193, allocations: 4 kB / 0.73 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/0.1931, allocations: 7.875 kB / 0.73 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.54e-05/0.1932, allocations: 11.86 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.1933, allocations: 35.95 kB / 0.73 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.1935, allocations: 87.81 kB / 0.7301 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1936, allocations: 11.98 kB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.884e-05/0.1937, allocations: 47.84 kB / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.714e-05/0.1937, allocations: 43.81 kB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.1938, allocations: 8 kB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.804e-05/0.1938, allocations: 8 kB / 0.7302 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.161e-05/0.1938, allocations: 23.92 kB / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.1939, allocations: 23.86 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.194, allocations: 95.88 kB / 0.7303 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.194, allocations: 0 / 0.7303 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.074e-06/0.194, allocations: 0 / 0.7303 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.194, allocations: 0 / 0.7303 GB, free: 14.7 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.0006598/0.1947, allocations: 334 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1947, allocations: 15.97 kB / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.1948, allocations: 30.75 kB / 0.7307 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.1948, allocations: 8.891 kB / 0.7307 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.195, allocations: 126.4 kB / 0.7308 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.195, allocations: 4.375 kB / 0.7308 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.1951, allocations: 12.12 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.1954, allocations: 105.5 kB / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1954, allocations: 4 kB / 0.731 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1954, allocations: 0 / 0.731 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.1954, allocations: 4 kB / 0.731 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003875/0.1958, allocations: 91.91 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006009/0.1964, allocations: 295.8 kB / 0.7313 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006351/0.197, allocations: 122.5 kB / 0.7314 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.1973, allocations: 56.8 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.1973, allocations: 0 / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.1973, allocations: 34.56 kB / 0.7315 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1973, allocations: 4 kB / 0.7315 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0007084/0.198, allocations: 189.4 kB / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.1981, allocations: 55.41 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.1982, allocations: 117.8 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1982, allocations: 29.7 kB / 0.7319 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/0.1983, allocations: 96.08 kB / 0.732 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.1983, allocations: 15.84 kB / 0.732 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.1983, allocations: 25.7 kB / 0.732 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1985, allocations: 318.8 kB / 0.7323 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.1987, allocations: 51.89 kB / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.1989, allocations: 43.95 kB / 0.7324 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.1992, allocations: 96.78 kB / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1992, allocations: 0 / 0.7325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004325/0.1997, allocations: 145.5 kB / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1997, allocations: 8 kB / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1997, allocations: 0 / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1997, allocations: 0 / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.1999, allocations: 23.97 kB / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1999, allocations: 4.484 kB / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.2, allocations: 19.94 kB / 0.7327 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.2, allocations: 4 kB / 0.7327 GB, free: 12.06 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.0001104/0.2001, allocations: 121.8 kB / 0.7328 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.2001, allocations: 0 / 0.7328 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.723e-05/0.2002, allocations: 12.38 kB / 0.7329 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2002, allocations: 0 / 0.7329 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.2002, allocations: 7.875 kB / 0.7329 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2002, allocations: 0 / 0.7329 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.2004, allocations: 160.7 kB / 0.733 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.2004, allocations: 7.922 kB / 0.733 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.2006, allocations: 27.97 kB / 0.7331 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2006, allocations: 0 / 0.7331 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.2006, allocations: 4 kB / 0.7331 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2006, allocations: 0 / 0.7331 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2006, allocations: 7.938 kB / 0.7331 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004983/0.2011, allocations: 235.4 kB / 0.7333 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.2011, allocations: 3.938 kB / 0.7333 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.2011, allocations: 8 kB / 0.7333 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.2012, allocations: 11.98 kB / 0.7333 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.714e-05/0.2013, allocations: 27.91 kB / 0.7333 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.2013, allocations: 3.984 kB / 0.7333 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001886/0.2015, allocations: 99.86 kB / 0.7334 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2015, allocations: 0 / 0.7334 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002316/0.2018, allocations: 19.89 kB / 0.7335 GB, free: 11.25 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.0008519/0.2026, allocations: 0.7593 MB / 0.7342 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004497/0.2031, allocations: 103.8 kB / 0.7343 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2031, allocations: 0 / 0.7343 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.2033, allocations: 63.94 kB / 0.7344 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.2037, allocations: 11.12 kB / 0.7344 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.206, allocations: 1.54 MB / 0.7359 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.791e-05/0.2061, allocations: 75.58 kB / 0.7359 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.436e-05/0.2062, allocations: 12 kB / 0.736 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.536e-05/0.2063, allocations: 27.42 kB / 0.736 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.2063, allocations: 0 / 0.736 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/0.2368, allocations: 3.357 MB / 0.7393 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.29, allocations: 18.05 kB / 0.7393 GB, free: 5.316 MB / 0.5606 GB " [Timeout remaining time 649] (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.095247908029705] Failed to read output from testmodel.py, exit status != 0: 11.40212061489001 11.41883176 11.22160372 Calling exit ...