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.001446/0.001446, allocations: 117.9 kB / 17.84 MB, free: 5.234 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.001519/0.001519, allocations: 203.9 kB / 20.79 MB, free: 2.297 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.703/1.703, allocations: 230.6 MB / 254.2 MB, free: 15.09 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 1.051/1.051, allocations: 150 MB / 460.2 MB, free: 5.227 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Add",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.002102/0.002102, allocations: 67.38 kB / 0.6368 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1864, allocations: 89.14 MB / 0.7239 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Add): time 0.002067/0.1885, allocations: 0.7563 MB / 0.7246 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1897, allocations: 0.8995 MB / 0.7255 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.1898, allocations: 0 / 0.7255 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.026e-05/0.1899, allocations: 11.88 kB / 0.7255 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.19, allocations: 15.86 kB / 0.7255 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.1901, allocations: 31.95 kB / 0.7255 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.1903, allocations: 83.83 kB / 0.7256 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.1904, allocations: 35.83 kB / 0.7256 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.763e-05/0.1905, allocations: 35.91 kB / 0.7257 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.78e-05/0.1906, allocations: 47.81 kB / 0.7257 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.1907, allocations: 8 kB / 0.7257 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.663e-05/0.1907, allocations: 8 kB / 0.7257 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.145e-05/0.1907, allocations: 19.92 kB / 0.7258 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.1907, allocations: 39.8 kB / 0.7258 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.1909, allocations: 91.88 kB / 0.7259 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1909, allocations: 0 / 0.7259 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1909, allocations: 0 / 0.7259 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.1909, allocations: 0 / 0.7259 GB, free: 1.91 MB / 0.5294 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.0007735/0.1917, allocations: 403.1 kB / 0.7263 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1917, allocations: 8.031 kB / 0.7263 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.352e-05/0.1917, allocations: 8.188 kB / 0.7263 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.013e-05/0.1918, allocations: 38.73 kB / 0.7263 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.1918, allocations: 8.891 kB / 0.7263 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.192, allocations: 172.3 kB / 0.7265 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.192, allocations: 8.312 kB / 0.7265 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.192, allocations: 11.94 kB / 0.7265 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.1924, allocations: 108.7 kB / 0.7266 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1924, allocations: 3.984 kB / 0.7266 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1924, allocations: 0 / 0.7266 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1924, allocations: 4 kB / 0.7266 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.1928, allocations: 99.89 kB / 0.7267 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006052/0.1934, allocations: 340.6 kB / 0.727 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006949/0.1941, allocations: 118.6 kB / 0.7272 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.1943, allocations: 56.8 kB / 0.7272 GB, free: 396 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.1944, allocations: 3.984 kB / 0.7272 GB, free: 392 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1944, allocations: 34.56 kB / 0.7272 GB, free: 348 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.1944, allocations: 4 kB / 0.7272 GB, free: 344 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0007423/0.1951, allocations: 181.5 kB / 0.7274 GB, free: 156 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.1952, allocations: 55.34 kB / 0.7275 GB, free: 88 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.1953, allocations: 121.8 kB / 0.7276 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.1953, allocations: 29.7 kB / 0.7276 GB, free: 15.92 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.1954, allocations: 100.1 kB / 0.7277 GB, free: 15.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.1954, allocations: 19.8 kB / 0.7277 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.1955, allocations: 21.7 kB / 0.7278 GB, free: 15.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1957, allocations: 318.8 kB / 0.7281 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.1959, allocations: 43.95 kB / 0.7281 GB, free: 15.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.1961, allocations: 47.95 kB / 0.7281 GB, free: 15.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.1965, allocations: 104.7 kB / 0.7282 GB, free: 15.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1965, allocations: 0 / 0.7282 GB, free: 15.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004587/0.1969, allocations: 141.5 kB / 0.7284 GB, free: 15.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1969, allocations: 4 kB / 0.7284 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.1969, allocations: 4 kB / 0.7284 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.197, allocations: 4 kB / 0.7284 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.1971, allocations: 27.91 kB / 0.7284 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1971, allocations: 3.938 kB / 0.7284 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.1973, allocations: 15.94 kB / 0.7284 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.1973, allocations: 0 / 0.7284 GB, free: 15.05 MB / 0.545 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.0001063/0.1974, allocations: 121.8 kB / 0.7286 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.1974, allocations: 15.88 kB / 0.7286 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/0.1975, allocations: 8.375 kB / 0.7286 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1975, allocations: 0 / 0.7286 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.1975, allocations: 7.938 kB / 0.7286 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1975, allocations: 0 / 0.7286 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.1977, allocations: 193.6 kB / 0.7288 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1977, allocations: 0 / 0.7288 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.1979, allocations: 23.97 kB / 0.7288 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1979, allocations: 4 kB / 0.7288 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1979, allocations: 4 kB / 0.7288 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1979, allocations: 0 / 0.7288 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1979, allocations: 3.938 kB / 0.7288 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005094/0.1984, allocations: 235.4 kB / 0.729 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.1985, allocations: 85.05 kB / 0.7291 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1985, allocations: 4 kB / 0.7291 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.1987, allocations: 15.91 kB / 0.7291 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.93e-05/0.1987, allocations: 23.92 kB / 0.7292 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.1987, allocations: 4 kB / 0.7292 GB, free: 14.22 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.705e-05/0.1988, allocations: 98.44 kB / 0.7292 GB, free: 14.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1988, allocations: 0 / 0.7292 GB, free: 14.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002474/0.1991, allocations: 15.95 kB / 0.7293 GB, free: 14.11 MB / 0.545 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.0008856/0.1999, allocations: 0.7677 MB / 0.73 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004741/0.2004, allocations: 115.9 kB / 0.7301 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2004, allocations: 0 / 0.7301 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.2007, allocations: 59.94 kB / 0.7302 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.201, allocations: 13.5 kB / 0.7302 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.2035, allocations: 1.54 MB / 0.7317 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.2038, allocations: 0.6885 MB / 0.7324 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.415e-05/0.2039, allocations: 12 kB / 0.7324 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.462e-05/0.204, allocations: 27.42 kB / 0.7324 GB, free: 10.76 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.204, allocations: 0 / 0.7324 GB, free: 10.76 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.2248, allocations: 2.744 MB / 0.7351 GB, free: 8.125 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.354/8.579, allocations: 19.19 kB / 0.7351 GB, free: 8.109 MB / 0.545 GB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 12.91502836503787] Failed to read output from testmodel.py, exit status != 0: 8.706289079040289 8.721003897 8.527212471 Calling exit ...