Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0007948/0.0007948, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001004/0.001004, allocations: 209.2 kB / 22.24 MB, free: 3.57 MB / 13.93 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 0.8853/0.8853, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.0375/0.0375, allocations: 12.19 MB / 324.6 MB, free: 6.062 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004209/0.0004209, allocations: 23.95 kB / 384.1 MB, free: 10.49 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.52/1.52, allocations: 353.8 MB / 0.7787 GB, free: 4.562 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.00137/0.00137, allocations: 120.9 kB / 1.06 GB, free: 24.78 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1881, allocations: 134.9 MB / 1.192 GB, free: 7.477 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001456/0.1895, allocations: 0.6491 MB / 1.192 GB, free: 6.828 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.1909, allocations: 1.363 MB / 1.194 GB, free: 5.453 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.758e-05/0.1909, allocations: 4 kB / 1.194 GB, free: 5.449 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004054/0.1913, allocations: 191.5 kB / 1.194 GB, free: 5.262 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.176e-05/0.1914, allocations: 103.7 kB / 1.194 GB, free: 5.16 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.192, allocations: 235.9 kB / 1.194 GB, free: 4.934 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003869/0.1924, allocations: 487.7 kB / 1.195 GB, free: 4.457 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.1924, allocations: 7.922 kB / 1.195 GB, free: 4.449 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.1926, allocations: 203.8 kB / 1.195 GB, free: 4.25 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.1929, allocations: 231.5 kB / 1.195 GB, free: 4.023 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.914e-05/0.193, allocations: 20 kB / 1.195 GB, free: 4.004 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.1931, allocations: 99.84 kB / 1.195 GB, free: 3.906 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.1934, allocations: 275.4 kB / 1.195 GB, free: 3.637 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.1935, allocations: 127.5 kB / 1.196 GB, free: 3.512 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.1939, allocations: 482.7 kB / 1.196 GB, free: 3.039 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1939, allocations: 0 / 1.196 GB, free: 3.039 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1939, allocations: 0 / 1.196 GB, free: 3.039 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.894e-06/0.1939, allocations: 0 / 1.196 GB, free: 3.039 MB / 0.823 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.0007191/0.1946, allocations: 0.5786 MB / 1.197 GB, free: 2.426 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1946, allocations: 8.031 kB / 1.197 GB, free: 2.418 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.1947, allocations: 34.75 kB / 1.197 GB, free: 2.375 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.376e-05/0.1948, allocations: 36.73 kB / 1.197 GB, free: 2.34 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.1951, allocations: 334.4 kB / 1.197 GB, free: 1.984 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.1951, allocations: 12.38 kB / 1.197 GB, free: 1.973 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.1952, allocations: 24.36 kB / 1.197 GB, free: 1.949 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.1956, allocations: 188.7 kB / 1.197 GB, free: 1.75 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1956, allocations: 3.938 kB / 1.197 GB, free: 1.746 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1956, allocations: 0 / 1.197 GB, free: 1.746 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1956, allocations: 4 kB / 1.197 GB, free: 1.742 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.1958, allocations: 115.9 kB / 1.197 GB, free: 1.629 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002572/0.196, allocations: 290.4 kB / 1.198 GB, free: 1.297 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.1963, allocations: 311.6 kB / 1.198 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.1964, allocations: 122.6 kB / 1.198 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.1964, allocations: 4 kB / 1.198 GB, free: 0.832 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003192/0.1967, allocations: 289.5 kB / 1.198 GB, free: 0.5273 MB / 0.823 GB Notification: Performance of pre-optimization done (n=18): time 1.112e-06/0.1967, allocations: 0 / 1.198 GB, free: 0.5273 MB / 0.823 GB Notification: Performance of matching and sorting (n=18): time 0.0005366/0.1973, allocations: 0.5013 MB / 1.199 GB, free: 20 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.1973, allocations: 110.8 kB / 1.199 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.1976, allocations: 400.5 kB / 1.199 GB, free: 15.48 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.1977, allocations: 37.7 kB / 1.199 GB, free: 15.44 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 8.846e-05/0.1977, allocations: 152.8 kB / 1.199 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.1978, allocations: 39.77 kB / 1.199 GB, free: 15.25 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.92e-05/0.1979, allocations: 117.6 kB / 1.2 GB, free: 15.12 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.198, allocations: 350.8 kB / 1.2 GB, free: 14.77 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.009e-05/0.198, allocations: 87.89 kB / 1.2 GB, free: 14.69 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/0.1985, allocations: 1.085 MB / 1.201 GB, free: 13.32 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.1987, allocations: 257.6 kB / 1.201 GB, free: 13.02 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1987, allocations: 0 / 1.201 GB, free: 13.02 MB / 0.8387 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003164/0.199, allocations: 329.4 kB / 1.202 GB, free: 12.7 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1991, allocations: 13.66 kB / 1.202 GB, free: 12.68 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1991, allocations: 4 kB / 1.202 GB, free: 12.68 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1991, allocations: 4 kB / 1.202 GB, free: 12.68 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1992, allocations: 32.03 kB / 1.202 GB, free: 12.64 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.1992, allocations: 19.88 kB / 1.202 GB, free: 12.62 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.1995, allocations: 64.95 kB / 1.202 GB, free: 12.56 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.1996, allocations: 12.09 kB / 1.202 GB, free: 12.55 MB / 0.8387 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.0001481/0.1997, allocations: 195.7 kB / 1.202 GB, free: 12.35 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.1997, allocations: 31.75 kB / 1.202 GB, free: 12.32 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/0.1998, allocations: 33.89 kB / 1.202 GB, free: 12.29 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1998, allocations: 0 / 1.202 GB, free: 12.29 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1998, allocations: 4 kB / 1.202 GB, free: 12.29 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1998, allocations: 3.984 kB / 1.202 GB, free: 12.28 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.1999, allocations: 232.6 kB / 1.202 GB, free: 12.01 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1999, allocations: 4 kB / 1.202 GB, free: 12.01 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-06/0.1999, allocations: 4 kB / 1.202 GB, free: 12 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1999, allocations: 3.938 kB / 1.202 GB, free: 12 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.2, allocations: 7.984 kB / 1.202 GB, free: 11.99 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.2, allocations: 0 / 1.202 GB, free: 11.99 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2, allocations: 4 kB / 1.202 GB, free: 11.99 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.2003, allocations: 434.5 kB / 1.203 GB, free: 11.54 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.047e-05/0.2004, allocations: 35.66 kB / 1.203 GB, free: 11.5 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.2004, allocations: 8 kB / 1.203 GB, free: 11.5 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.45e-05/0.2004, allocations: 0 / 1.203 GB, free: 11.5 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.2005, allocations: 20.02 kB / 1.203 GB, free: 11.48 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.2005, allocations: 19.98 kB / 1.203 GB, free: 11.46 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0001939/0.2007, allocations: 291 kB / 1.203 GB, free: 11.18 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2007, allocations: 0 / 1.203 GB, free: 11.18 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.000269/0.201, allocations: 79.92 kB / 1.203 GB, free: 11.1 MB / 0.8387 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.0008524/0.2018, allocations: 0.998 MB / 1.204 GB, free: 10.06 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003004/0.2021, allocations: 260.2 kB / 1.204 GB, free: 9.809 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2021, allocations: 0 / 1.204 GB, free: 9.809 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.2022, allocations: 116.4 kB / 1.204 GB, free: 9.695 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.2024, allocations: 28.89 kB / 1.204 GB, free: 9.668 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.2048, allocations: 3.261 MB / 1.208 GB, free: 6.211 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.711e-05/0.2049, allocations: 161.1 kB / 1.208 GB, free: 6.035 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 8.046e-05/0.205, allocations: 49.88 kB / 1.208 GB, free: 5.988 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.775e-05/0.205, allocations: 87.41 kB / 1.208 GB, free: 5.902 MB / 0.8387 GB Notification: Performance of SimCode: time 6.81e-07/0.205, allocations: 0 / 1.208 GB, free: 5.902 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.2243, allocations: 8.65 MB / 1.216 GB, free: 13.52 MB / 0.8543 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.153/6.378, allocations: 2.188 kB / 1.216 GB, free: 13.52 MB / 0.8543 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.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 AixLib_AixLib_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.359393034130335] Failed to read output from testmodel.py, exit status != 0: 6.453250005841255 6.461446467 6.265948256 Calling exit ...