Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.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.001367/0.001367, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.001475/0.001475, allocations: 204 kB / 20.09 MB, free: 2.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.533/1.533, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.01/1.01, allocations: 150 MB / 459.5 MB, free: 5.324 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.Min,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Min",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.003016/0.003016, allocations: 69.98 kB / 0.6361 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2036, allocations: 89.13 MB / 0.7232 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Min): time 0.002205/0.2058, allocations: 0.768 MB / 0.7239 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.2071, allocations: 0.8956 MB / 0.7248 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.038e-05/0.2071, allocations: 0 / 0.7248 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.573e-05/0.2072, allocations: 11.86 kB / 0.7248 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.122e-05/0.2073, allocations: 15.88 kB / 0.7248 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.2075, allocations: 39.94 kB / 0.7249 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.2076, allocations: 83.83 kB / 0.7249 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.2078, allocations: 27.91 kB / 0.725 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.2079, allocations: 39.89 kB / 0.725 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.208, allocations: 47.83 kB / 0.725 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.208, allocations: 8 kB / 0.7251 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.787e-05/0.208, allocations: 8 kB / 0.7251 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.4e-05/0.2081, allocations: 19.91 kB / 0.7251 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.2081, allocations: 39.8 kB / 0.7251 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.2083, allocations: 91.88 kB / 0.7252 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2083, allocations: 0 / 0.7252 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2083, allocations: 0 / 0.7252 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.2083, allocations: 0 / 0.7252 GB, free: 1.977 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.000744/0.209, allocations: 396.6 kB / 0.7256 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.2091, allocations: 12.03 kB / 0.7256 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.487e-05/0.2091, allocations: 34.75 kB / 0.7256 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.2092, allocations: 12.89 kB / 0.7256 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.2094, allocations: 180.3 kB / 0.7258 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.2094, allocations: 8.312 kB / 0.7258 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.2094, allocations: 8.125 kB / 0.7258 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.2097, allocations: 112.4 kB / 0.7259 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2097, allocations: 0 / 0.7259 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.2098, allocations: 0 / 0.7259 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2098, allocations: 0 / 0.7259 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004105/0.2102, allocations: 99.89 kB / 0.726 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000586/0.2108, allocations: 344.6 kB / 0.7264 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.2114, allocations: 114.6 kB / 0.7265 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.2116, allocations: 52.81 kB / 0.7265 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.2117, allocations: 4 kB / 0.7265 GB, free: 480 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.2117, allocations: 34.55 kB / 0.7266 GB, free: 436 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.2117, allocations: 0 / 0.7266 GB, free: 436 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0007546/0.2125, allocations: 193.4 kB / 0.7267 GB, free: 236 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.2125, allocations: 51.41 kB / 0.7268 GB, free: 172 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.2126, allocations: 129.2 kB / 0.7269 GB, free: 36 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.2126, allocations: 29.7 kB / 0.7269 GB, free: 0 / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.581e-05/0.2127, allocations: 92.2 kB / 0.727 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.2128, allocations: 27.72 kB / 0.7271 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/0.2128, allocations: 29.7 kB / 0.7271 GB, free: 15.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.213, allocations: 314.8 kB / 0.7274 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.2132, allocations: 43.95 kB / 0.7274 GB, free: 15.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.2133, allocations: 47.95 kB / 0.7275 GB, free: 15.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/0.2137, allocations: 100.8 kB / 0.7276 GB, free: 15.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2137, allocations: 3.938 kB / 0.7276 GB, free: 15.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004486/0.2142, allocations: 133.6 kB / 0.7277 GB, free: 15.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.2142, allocations: 10.17 kB / 0.7277 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2142, allocations: 0 / 0.7277 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2142, allocations: 4 kB / 0.7277 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.2144, allocations: 27.91 kB / 0.7277 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.2144, allocations: 7.938 kB / 0.7277 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.2145, allocations: 15.94 kB / 0.7278 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.2145, allocations: 4 kB / 0.7278 GB, free: 15.13 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,min1.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.0001016/0.2146, allocations: 113.8 kB / 0.7279 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.2147, allocations: 11.94 kB / 0.7279 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005176/0.2152, allocations: 149.9 kB / 0.728 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2152, allocations: 0 / 0.728 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.2152, allocations: 3.938 kB / 0.728 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2152, allocations: 0 / 0.728 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.2155, allocations: 201.6 kB / 0.7282 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2155, allocations: 0 / 0.7282 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.2156, allocations: 27.97 kB / 0.7283 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2156, allocations: 0 / 0.7283 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.2157, allocations: 8 kB / 0.7283 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2157, allocations: 0 / 0.7283 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.2157, allocations: 3.938 kB / 0.7283 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005275/0.2162, allocations: 236 kB / 0.7285 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.088e-05/0.2163, allocations: 85 kB / 0.7286 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.2163, allocations: 7.984 kB / 0.7286 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.2164, allocations: 11.98 kB / 0.7286 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.994e-05/0.2165, allocations: 23.92 kB / 0.7286 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.2165, allocations: 7.984 kB / 0.7286 GB, free: 14.15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.94e-05/0.2166, allocations: 91.27 kB / 0.7287 GB, free: 14.06 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2166, allocations: 0 / 0.7287 GB, free: 14.06 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000244/0.2168, allocations: 20 kB / 0.7287 GB, free: 14.04 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 (min1.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.0008895/0.2177, allocations: 0.7671 MB / 0.7295 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004721/0.2182, allocations: 107.9 kB / 0.7296 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2182, allocations: 0 / 0.7296 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.2184, allocations: 67.83 kB / 0.7296 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.2188, allocations: 7.938 kB / 0.7296 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.2217, allocations: 1.537 MB / 0.7312 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.2221, allocations: 0.6963 MB / 0.7318 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.47e-05/0.2222, allocations: 11.98 kB / 0.7318 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.803e-05/0.2223, allocations: 27.42 kB / 0.7319 GB, free: 10.69 MB / 0.545 GB Notification: Performance of SimCode: time 1.844e-06/0.2223, allocations: 0 / 0.7319 GB, free: 10.69 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.2495, allocations: 2.695 MB / 0.7345 GB, free: 8.082 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/8.28, allocations: 13.97 kB / 0.7345 GB, free: 8.07 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Min.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.321470794966444] Failed to read output from testmodel.py, exit status != 0: 8.351860735798255 8.37469658 8.161992544 Calling exit ...