Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.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.00179/0.00179, allocations: 119 kB / 19.69 MB, free: 2.199 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.001903/0.001903, allocations: 221.4 kB / 23.01 MB, free: 5.047 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.9907/0.9907, allocations: 150 MB / 463.2 MB, free: 10.46 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.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Max",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.002135/0.002135, allocations: 60.53 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1806, allocations: 89.18 MB / 0.7284 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Max): time 0.002131/0.1827, allocations: 0.7663 MB / 0.7291 GB, free: 500 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.184, allocations: 0.9016 MB / 0.73 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.419e-05/0.1841, allocations: 3.938 kB / 0.73 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.234e-05/0.1841, allocations: 3.938 kB / 0.73 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.289e-05/0.1842, allocations: 19.84 kB / 0.73 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.1844, allocations: 35.97 kB / 0.73 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.1845, allocations: 79.83 kB / 0.7301 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1846, allocations: 23.97 kB / 0.7301 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.233e-05/0.1847, allocations: 39.84 kB / 0.7302 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1848, allocations: 51.81 kB / 0.7302 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.1848, allocations: 12 kB / 0.7302 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.613e-05/0.1848, allocations: 8 kB / 0.7303 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.214e-05/0.1849, allocations: 23.86 kB / 0.7303 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.167e-05/0.1849, allocations: 39.78 kB / 0.7303 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.1851, allocations: 87.94 kB / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1851, allocations: 0 / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1851, allocations: 0 / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.1851, allocations: 0 / 0.7304 GB, free: 15.15 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.0006526/0.1857, allocations: 322 kB / 0.7307 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1858, allocations: 8.031 kB / 0.7307 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.943e-05/0.1858, allocations: 38.73 kB / 0.7308 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.1859, allocations: 8.891 kB / 0.7308 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.186, allocations: 122.4 kB / 0.7309 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.186, allocations: 384 / 0.7309 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.186, allocations: 8.125 kB / 0.7309 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.1864, allocations: 109.6 kB / 0.731 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1864, allocations: 4 kB / 0.731 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1864, allocations: 0 / 0.731 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1864, allocations: 4 kB / 0.731 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003765/0.1868, allocations: 99.78 kB / 0.7311 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005921/0.1874, allocations: 315.7 kB / 0.7314 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006373/0.188, allocations: 114.5 kB / 0.7315 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.1882, allocations: 56.88 kB / 0.7316 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.1882, allocations: 3.984 kB / 0.7316 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.1883, allocations: 38.5 kB / 0.7316 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.1883, allocations: 0 / 0.7316 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0007062/0.189, allocations: 177.5 kB / 0.7318 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.189, allocations: 51.41 kB / 0.7318 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.1891, allocations: 129.8 kB / 0.7319 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.1891, allocations: 29.7 kB / 0.732 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.207e-05/0.1892, allocations: 96.08 kB / 0.7321 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.1893, allocations: 23.83 kB / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.1893, allocations: 21.7 kB / 0.7321 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1895, allocations: 318.8 kB / 0.7324 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.1896, allocations: 47.95 kB / 0.7325 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.1898, allocations: 47.95 kB / 0.7325 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.1902, allocations: 100.7 kB / 0.7326 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1902, allocations: 0 / 0.7326 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004237/0.1906, allocations: 137.5 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1906, allocations: 4 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1906, allocations: 4 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.1906, allocations: 0 / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.1908, allocations: 27.97 kB / 0.7328 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1908, allocations: 4.484 kB / 0.7328 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.1909, allocations: 15.94 kB / 0.7328 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.191, allocations: 0 / 0.7328 GB, free: 12.52 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,max1.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.0001045/0.1911, allocations: 125.8 kB / 0.7329 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.1911, allocations: 4 kB / 0.7329 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004724/0.1916, allocations: 153.9 kB / 0.733 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.1916, allocations: 4 kB / 0.7331 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1916, allocations: 7.938 kB / 0.7331 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1916, allocations: 0 / 0.7331 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.1918, allocations: 168.6 kB / 0.7332 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1918, allocations: 4 kB / 0.7332 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.192, allocations: 31.91 kB / 0.7333 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.192, allocations: 0 / 0.7333 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.192, allocations: 0 / 0.7333 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.192, allocations: 0 / 0.7333 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.192, allocations: 3.938 kB / 0.7333 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.1925, allocations: 235.4 kB / 0.7335 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/0.1925, allocations: 15.91 kB / 0.7335 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.1925, allocations: 7.938 kB / 0.7335 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.1927, allocations: 11.98 kB / 0.7335 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.638e-05/0.1927, allocations: 23.91 kB / 0.7335 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.1928, allocations: 8 kB / 0.7335 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.514e-05/0.1928, allocations: 92.69 kB / 0.7336 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1928, allocations: 4 kB / 0.7336 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002362/0.1931, allocations: 19.95 kB / 0.7337 GB, free: 11.54 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 (max1.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.0007928/0.1939, allocations: 0.7709 MB / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004121/0.1943, allocations: 95.91 kB / 0.7345 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1943, allocations: 0 / 0.7345 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.1945, allocations: 71.88 kB / 0.7346 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.1948, allocations: 11.94 kB / 0.7346 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.197, allocations: 1.537 MB / 0.7361 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1974, allocations: 0.6885 MB / 0.7368 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.713e-05/0.1974, allocations: 12 kB / 0.7368 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.595e-05/0.1975, allocations: 31.42 kB / 0.7368 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.1975, allocations: 0 / 0.7368 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.2279, allocations: 2.849 MB / 0.7396 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.24, allocations: 4.875 kB / 0.7396 GB, free: 5.48 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max_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_Max.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.269416328999796] Failed to read output from testmodel.py, exit status != 0: 11.345800162998785 11.372964408 11.182931491 Calling exit ...