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.0014/0.0014, allocations: 109.7 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.001584/0.001584, 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.638/1.638, allocations: 230.6 MB / 253.5 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.023/1.023, allocations: 150 MB / 459.5 MB, free: 5.332 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.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.002091/0.002091, allocations: 80.02 kB / 0.6361 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1754, 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.Max): time 0.00197/0.1774, allocations: 0.7573 MB / 0.7239 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1785, allocations: 0.9034 MB / 0.7248 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.1785, allocations: 0 / 0.7248 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.415e-05/0.1786, allocations: 7.875 kB / 0.7248 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.672e-05/0.1786, allocations: 11.86 kB / 0.7248 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.1788, allocations: 43.94 kB / 0.7249 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.1789, allocations: 87.77 kB / 0.7249 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.179, allocations: 31.89 kB / 0.725 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.418e-05/0.1791, allocations: 31.92 kB / 0.725 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.474e-05/0.1792, allocations: 51.81 kB / 0.725 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.1792, allocations: 8 kB / 0.7251 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.443e-05/0.1792, allocations: 8 kB / 0.7251 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.1793, allocations: 23.91 kB / 0.7251 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.856e-05/0.1793, allocations: 35.8 kB / 0.7251 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.1794, allocations: 91.88 kB / 0.7252 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1794, allocations: 3.984 kB / 0.7252 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1794, allocations: 0 / 0.7252 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.1795, allocations: 0 / 0.7252 GB, free: 1.98 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.0006566/0.1801, allocations: 397 kB / 0.7256 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1802, allocations: 12.02 kB / 0.7256 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.03e-05/0.1802, allocations: 38.75 kB / 0.7256 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.1802, allocations: 12.89 kB / 0.7257 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.1804, allocations: 171.4 kB / 0.7258 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.1804, allocations: 12.31 kB / 0.7258 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.1804, allocations: 8.125 kB / 0.7258 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.1807, allocations: 109.5 kB / 0.7259 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1807, allocations: 4 kB / 0.7259 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1808, allocations: 4 kB / 0.7259 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1808, allocations: 0 / 0.7259 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003965/0.1812, allocations: 91.91 kB / 0.726 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.1817, allocations: 348.6 kB / 0.7264 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006573/0.1824, allocations: 114.6 kB / 0.7265 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.1826, allocations: 52.81 kB / 0.7265 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.1826, allocations: 3.984 kB / 0.7265 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.1826, allocations: 38.56 kB / 0.7266 GB, free: 436 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1826, allocations: 0 / 0.7266 GB, free: 436 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0007515/0.1834, allocations: 181.4 kB / 0.7267 GB, free: 248 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.1834, allocations: 55.41 kB / 0.7268 GB, free: 180 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.1835, allocations: 125.8 kB / 0.7269 GB, free: 44 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.1836, allocations: 25.7 kB / 0.7269 GB, free: 12 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.832e-05/0.1836, allocations: 100.1 kB / 0.727 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.1837, allocations: 19.8 kB / 0.7271 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/0.1837, allocations: 25.7 kB / 0.7271 GB, free: 15.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1839, allocations: 314.8 kB / 0.7274 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.1841, allocations: 47.95 kB / 0.7274 GB, free: 15.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.1843, allocations: 47.95 kB / 0.7275 GB, free: 15.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.1846, allocations: 96.77 kB / 0.7276 GB, free: 15.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1846, allocations: 0 / 0.7276 GB, free: 15.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004608/0.1851, allocations: 145.5 kB / 0.7277 GB, free: 15.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1851, allocations: 6.031 kB / 0.7277 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1851, allocations: 0 / 0.7277 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1851, allocations: 0 / 0.7277 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.1853, allocations: 27.91 kB / 0.7277 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1853, allocations: 3.938 kB / 0.7277 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.1854, allocations: 27.91 kB / 0.7278 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1855, allocations: 8 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,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.0001007/0.1856, allocations: 113.8 kB / 0.7279 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.1856, allocations: 3.953 kB / 0.7279 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005125/0.1861, allocations: 154.4 kB / 0.728 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1861, allocations: 0 / 0.728 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1861, allocations: 7.938 kB / 0.728 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1861, allocations: 0 / 0.728 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.1863, allocations: 197.6 kB / 0.7282 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1863, allocations: 3.984 kB / 0.7282 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.1865, allocations: 23.97 kB / 0.7283 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1865, allocations: 0 / 0.7283 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.1865, allocations: 8 kB / 0.7283 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1865, allocations: 4 kB / 0.7283 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1865, allocations: 3.938 kB / 0.7283 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005036/0.187, allocations: 239.4 kB / 0.7285 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.1871, allocations: 85 kB / 0.7286 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.1871, allocations: 0 / 0.7286 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.1873, allocations: 19.97 kB / 0.7286 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.1874, allocations: 27.92 kB / 0.7286 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.1874, allocations: 0 / 0.7286 GB, free: 14.15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.421e-05/0.1874, allocations: 95.27 kB / 0.7287 GB, free: 14.06 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1874, allocations: 0 / 0.7287 GB, free: 14.06 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002348/0.1877, allocations: 12 kB / 0.7287 GB, free: 14.05 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 (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.0008719/0.1885, allocations: 0.7748 MB / 0.7295 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004345/0.189, allocations: 99.91 kB / 0.7296 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.189, allocations: 0 / 0.7296 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.1892, allocations: 67.88 kB / 0.7296 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.1895, allocations: 11.94 kB / 0.7297 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.1918, allocations: 1.535 MB / 0.7311 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.1921, allocations: 0.6942 MB / 0.7318 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.797e-05/0.1921, allocations: 8 kB / 0.7318 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.459e-05/0.1922, allocations: 31.42 kB / 0.7319 GB, free: 10.7 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.1922, allocations: 0 / 0.7319 GB, free: 10.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.2188, allocations: 2.702 MB / 0.7345 GB, free: 8.102 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/8.362, allocations: 14.44 kB / 0.7345 GB, free: 8.09 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.617745552910492] Failed to read output from testmodel.py, exit status != 0: 8.434891630895436 8.452133234 8.26950049 Calling exit ...