Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001034/0.001034, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001278/0.001278, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8675/0.8675, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7261/0.7261, allocations: 154.5 MB / 413.7 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.286e-05, allocations: 2.281 kB / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001307/0.00133, allocations: 0.6602 MB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.002686, allocations: 1.357 MB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.807e-05/0.002744, allocations: 7.938 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.003148, allocations: 183.5 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.481e-05/0.003223, allocations: 107.7 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.003718, allocations: 236 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003427/0.004061, allocations: 499.7 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.004099, allocations: 4 kB / 0.621 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.004292, allocations: 247.7 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.004551, allocations: 215.6 kB / 0.6214 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.027e-05/0.004602, allocations: 24 kB / 0.6215 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.004771, allocations: 103.8 kB / 0.6216 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.005004, allocations: 271.4 kB / 0.6218 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.005108, allocations: 123.7 kB / 0.6219 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.005539, allocations: 0.526 MB / 0.6225 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.005542, allocations: 0 / 0.6225 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.593e-06/0.005544, allocations: 0 / 0.6225 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.00555, allocations: 0 / 0.6225 GB, free: 9.18 MB / 0.5886 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.0007511/0.006301, allocations: 0.5631 MB / 0.623 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.006346, allocations: 13.47 kB / 0.623 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.704e-05/0.006383, allocations: 30.75 kB / 0.6231 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.136e-05/0.006474, allocations: 28.8 kB / 0.6231 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.006865, allocations: 329.7 kB / 0.6234 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.006885, allocations: 20.31 kB / 0.6234 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.006931, allocations: 24.36 kB / 0.6234 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.007159, allocations: 184.7 kB / 0.6236 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.007166, allocations: 192 / 0.6236 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.00718, allocations: 384 / 0.6236 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.007187, allocations: 8.125 kB / 0.6236 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.007314, allocations: 111.9 kB / 0.6237 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002655/0.007579, allocations: 298.3 kB / 0.624 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005695/0.008149, allocations: 315.6 kB / 0.6243 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.008274, allocations: 122.6 kB / 0.6244 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.832e-06/0.00828, allocations: 0 / 0.6244 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003198/0.0086, allocations: 283.6 kB / 0.6247 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 9.72e-07/0.008601, allocations: 0 / 0.6247 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0005721/0.009173, allocations: 0.4933 MB / 0.6252 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.009236, allocations: 118.8 kB / 0.6253 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.009533, allocations: 396.5 kB / 0.6257 GB, free: 5.668 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.009578, allocations: 45.7 kB / 0.6257 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.009678, allocations: 152.8 kB / 0.6259 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.009714, allocations: 47.67 kB / 0.6259 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.009819, allocations: 109.6 kB / 0.626 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.009917, allocations: 346.8 kB / 0.6263 GB, free: 4.953 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-05/0.01001, allocations: 83.95 kB / 0.6264 GB, free: 4.871 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005107/0.01052, allocations: 1.084 MB / 0.6275 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.01072, allocations: 249.5 kB / 0.6277 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.01072, allocations: 4 kB / 0.6277 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003325/0.01106, allocations: 337 kB / 0.628 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.01107, allocations: 4 kB / 0.6281 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.01108, allocations: 4.234 kB / 0.6281 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.01109, allocations: 11.94 kB / 0.6281 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.01122, allocations: 31.91 kB / 0.6281 GB, free: 2.824 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.01123, allocations: 4.625 kB / 0.6281 GB, free: 2.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/0.0116, allocations: 80.33 kB / 0.6282 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.01162, allocations: 8 kB / 0.6282 GB, free: 2.734 MB / 0.5886 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.000155/0.01177, allocations: 200.6 kB / 0.6284 GB, free: 2.531 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.0118, allocations: 27.81 kB / 0.6284 GB, free: 2.504 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.01184, allocations: 33.95 kB / 0.6284 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.01185, allocations: 7.938 kB / 0.6284 GB, free: 2.457 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.01185, allocations: 4 kB / 0.6284 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.01186, allocations: 3.984 kB / 0.6285 GB, free: 2.449 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.01202, allocations: 232.6 kB / 0.6287 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01202, allocations: 0 / 0.6287 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.027e-05/0.01203, allocations: 4 kB / 0.6287 GB, free: 2.176 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01204, allocations: 0 / 0.6287 GB, free: 2.176 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.01205, allocations: 11.92 kB / 0.6287 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.01205, allocations: 7.938 kB / 0.6287 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01205, allocations: 0 / 0.6287 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.01243, allocations: 436.7 kB / 0.6291 GB, free: 1.707 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.01246, allocations: 31.84 kB / 0.6291 GB, free: 1.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.01248, allocations: 4 kB / 0.6291 GB, free: 1.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.663e-05/0.01254, allocations: 7.938 kB / 0.6292 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.01258, allocations: 19.97 kB / 0.6292 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.0126, allocations: 16 kB / 0.6292 GB, free: 1.629 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002/0.0128, allocations: 291 kB / 0.6295 GB, free: 1.348 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.0128, allocations: 0 / 0.6295 GB, free: 1.348 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000284/0.01309, allocations: 79.86 kB / 0.6295 GB, free: 1.27 MB / 0.5886 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.0006683/0.01376, allocations: 1 MB / 0.6305 GB, free: 240 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003369/0.01409, allocations: 251.7 kB / 0.6308 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.0141, allocations: 0 / 0.6308 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.01422, allocations: 119.8 kB / 0.6309 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.01447, allocations: 24.64 kB / 0.6309 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.01738, allocations: 3.262 MB / 0.6341 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.01748, allocations: 157.2 kB / 0.6342 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.754e-05/0.01757, allocations: 45.95 kB / 0.6343 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.67e-05/0.01767, allocations: 88.45 kB / 0.6344 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of SimCode: time 9.21e-07/0.01767, allocations: 0 / 0.6344 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.03943, allocations: 8.759 MB / 0.6429 GB, free: 3.617 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.165/7.204, allocations: 0 / 0.6429 GB, free: 3.617 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.934719434008002] Failed to read output from testmodel.py, exit status != 0: 7.290236203931272 7.301388344 7.29308808 Calling exit ...