Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.001334/0.001334, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001451/0.001451, allocations: 214 kB / 22.99 MB, free: 4.605 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.563/1.563, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.9775/0.9775, allocations: 149.9 MB / 463 MB, free: 10.38 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.Sources.Validation.TimeTable,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",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.002381/0.002381, allocations: 65.23 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1761, allocations: 89.18 MB / 0.7282 GB, free: 1.016 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001984/0.1781, allocations: 0.6473 MB / 0.7288 GB, free: 380 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00204/0.1801, allocations: 1.338 MB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.116e-05/0.1802, allocations: 8 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004783/0.1807, allocations: 187.5 kB / 0.7303 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.1808, allocations: 103.7 kB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007802/0.1816, allocations: 245.7 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005931/0.1822, allocations: 487.8 kB / 0.7311 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.1822, allocations: 7.938 kB / 0.7311 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000286/0.1825, allocations: 207.7 kB / 0.7313 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003824/0.1829, allocations: 219.6 kB / 0.7315 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.183, allocations: 20 kB / 0.7315 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.1833, allocations: 95.91 kB / 0.7316 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004156/0.1837, allocations: 283.4 kB / 0.7319 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.1839, allocations: 135.4 kB / 0.732 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005647/0.1844, allocations: 478.8 kB / 0.7325 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1844, allocations: 0 / 0.7325 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1844, allocations: 0 / 0.7325 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.046e-06/0.1845, allocations: 7.938 kB / 0.7325 GB, free: 12.59 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001054/0.1855, allocations: 0.5631 MB / 0.733 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1855, allocations: 8.031 kB / 0.733 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.1856, allocations: 38.73 kB / 0.7331 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.1857, allocations: 36.75 kB / 0.7331 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006307/0.1863, allocations: 334.4 kB / 0.7334 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.1864, allocations: 16.38 kB / 0.7334 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.1864, allocations: 20.38 kB / 0.7335 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.1868, allocations: 188.7 kB / 0.7336 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1868, allocations: 3.938 kB / 0.7337 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.1868, allocations: 0 / 0.7337 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1868, allocations: 4 kB / 0.7337 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.187, allocations: 107.9 kB / 0.7338 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.1874, allocations: 298.4 kB / 0.734 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.1879, allocations: 315.7 kB / 0.7343 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.1881, allocations: 126.5 kB / 0.7345 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.1881, allocations: 0 / 0.7345 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004617/0.1886, allocations: 281.5 kB / 0.7347 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.1886, allocations: 0 / 0.7347 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0008731/0.1894, allocations: 0.4977 MB / 0.7352 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.954e-05/0.1895, allocations: 122.8 kB / 0.7353 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.19, allocations: 400.5 kB / 0.7357 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.35e-05/0.1901, allocations: 37.7 kB / 0.7358 GB, free: 9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.1902, allocations: 160.8 kB / 0.7359 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.1903, allocations: 35.7 kB / 0.7359 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.1904, allocations: 117.6 kB / 0.7361 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1906, allocations: 342.8 kB / 0.7364 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.1907, allocations: 79.95 kB / 0.7365 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009489/0.1917, allocations: 1.091 MB / 0.7375 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.192, allocations: 257.4 kB / 0.7378 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.192, allocations: 0 / 0.7378 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005497/0.1926, allocations: 333.1 kB / 0.7381 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1926, allocations: 9.969 kB / 0.7381 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1926, allocations: 4 kB / 0.7381 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1926, allocations: 4 kB / 0.7381 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.1928, allocations: 36.45 kB / 0.7381 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.1928, allocations: 11.98 kB / 0.7381 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007046/0.1935, allocations: 67.77 kB / 0.7382 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.1935, allocations: 12 kB / 0.7382 GB, free: 6.117 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002226/0.1937, allocations: 192 kB / 0.7384 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.1938, allocations: 31.75 kB / 0.7384 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.712e-05/0.1939, allocations: 41.88 kB / 0.7385 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.1939, allocations: 4 kB / 0.7385 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1939, allocations: 0 / 0.7385 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1939, allocations: 0 / 0.7385 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.1942, allocations: 236.6 kB / 0.7387 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1942, allocations: 0 / 0.7387 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.591e-05/0.1942, allocations: 7.938 kB / 0.7387 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.1942, allocations: 3.938 kB / 0.7387 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.1942, allocations: 7.984 kB / 0.7387 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.1942, allocations: 4 kB / 0.7387 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1942, allocations: 0 / 0.7387 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006127/0.1948, allocations: 438.4 kB / 0.7391 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.1949, allocations: 27.73 kB / 0.7392 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/0.1949, allocations: 11.98 kB / 0.7392 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.336e-05/0.195, allocations: 0 / 0.7392 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.1951, allocations: 19.92 kB / 0.7392 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.1951, allocations: 19.98 kB / 0.7392 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003605/0.1954, allocations: 287 kB / 0.7395 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1954, allocations: 0 / 0.7395 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003877/0.1958, allocations: 75.94 kB / 0.7396 GB, free: 4.664 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001059/0.1969, allocations: 0.9975 MB / 0.7405 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004824/0.1974, allocations: 257.9 kB / 0.7408 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1974, allocations: 0 / 0.7408 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.1976, allocations: 119.9 kB / 0.7409 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.1978, allocations: 25.7 kB / 0.7409 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/0.2021, allocations: 3.265 MB / 0.7441 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.2023, allocations: 153.2 kB / 0.7443 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001339/0.2024, allocations: 52.73 kB / 0.7443 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.2025, allocations: 87.39 kB / 0.7444 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.2025, allocations: 0 / 0.7444 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04152/0.2441, allocations: 8.63 MB / 0.7528 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.82, allocations: 9.047 kB / 0.7528 GB, free: 7.129 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.132035000249743] Failed to read output from testmodel.py, exit status != 0: 11.938018468674272 12.265681285 12.078671748 Calling exit ...