Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.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.0008668/0.0008668, allocations: 109.3 kB / 18.93 MB, free: 1.273 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.001133/0.001133, allocations: 218.2 kB / 22.25 MB, free: 3.699 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 1.001/1.001, allocations: 230.6 MB / 256 MB, free: 9.793 MB / 202.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.77/0.77, allocations: 203.8 MB / 0.5042 GB, free: 10.74 MB / 410.7 MB " [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.TimeTableNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001351/0.001351, allocations: 63.47 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.595/0.5963, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001408/0.5977, allocations: 0.6673 MB / 0.8185 GB, free: 0.8359 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.5992, allocations: 1.386 MB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.988e-05/0.5992, allocations: 7.594 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004627/0.5997, allocations: 182.2 kB / 0.8201 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.447e-05/0.5998, allocations: 108.5 kB / 0.8202 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006294/0.6004, allocations: 240.2 kB / 0.8204 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004718/0.6009, allocations: 499.8 kB / 0.8209 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.298e-05/0.6009, allocations: 8.891 kB / 0.8209 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.6011, allocations: 209.2 kB / 0.8211 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003313/0.6015, allocations: 235.7 kB / 0.8213 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.298e-05/0.6015, allocations: 18.47 kB / 0.8213 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.6017, allocations: 96.23 kB / 0.8214 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002845/0.602, allocations: 277 kB / 0.8217 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.6022, allocations: 147.2 kB / 0.8218 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005174/0.6027, allocations: 485.7 kB / 0.8223 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.6027, allocations: 2.047 kB / 0.8223 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6027, allocations: 0 / 0.8223 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.6027, allocations: 3.938 kB / 0.8223 GB, free: 15.04 MB / 0.6198 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.0008216/0.6035, allocations: 0.5756 MB / 0.8229 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.6035, allocations: 9.906 kB / 0.8229 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.821e-05/0.6036, allocations: 37.88 kB / 0.8229 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.178e-05/0.6037, allocations: 35.75 kB / 0.8229 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.6041, allocations: 329.5 kB / 0.8233 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.6041, allocations: 14.56 kB / 0.8233 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/0.6042, allocations: 21.06 kB / 0.8233 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.6045, allocations: 187.2 kB / 0.8235 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.6045, allocations: 3.938 kB / 0.8235 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.6045, allocations: 2.25 kB / 0.8235 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.6045, allocations: 5.25 kB / 0.8235 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.6046, allocations: 112.4 kB / 0.8236 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.605, allocations: 353.8 kB / 0.8239 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003852/0.6054, allocations: 318 kB / 0.8242 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.6055, allocations: 125.7 kB / 0.8243 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-06/0.6055, allocations: 1.812 kB / 0.8243 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004099/0.606, allocations: 285.9 kB / 0.8246 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.102e-06/0.606, allocations: 1.594 kB / 0.8246 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0006626/0.6066, allocations: 0.4894 MB / 0.8251 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.6067, allocations: 119.6 kB / 0.8252 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.607, allocations: 400.6 kB / 0.8256 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.6071, allocations: 36.48 kB / 0.8256 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.6072, allocations: 154.2 kB / 0.8258 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.6072, allocations: 45.78 kB / 0.8258 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.6074, allocations: 118.8 kB / 0.8259 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6075, allocations: 342.8 kB / 0.8263 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.6076, allocations: 87.41 kB / 0.8263 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.608, allocations: 482.2 kB / 0.8268 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.6082, allocations: 252.7 kB / 0.827 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6082, allocations: 1.375 kB / 0.827 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003847/0.6086, allocations: 328.5 kB / 0.8274 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.6086, allocations: 11.52 kB / 0.8274 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.6086, allocations: 2.719 kB / 0.8274 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.6086, allocations: 5.25 kB / 0.8274 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.6088, allocations: 33.3 kB / 0.8274 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.6088, allocations: 6.422 kB / 0.8274 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000413/0.6092, allocations: 66.81 kB / 0.8275 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.6092, allocations: 19.61 kB / 0.8275 GB, free: 11.89 MB / 0.6198 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.0001752/0.6094, allocations: 195.8 kB / 0.8277 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.6094, allocations: 36.62 kB / 0.8277 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.823e-05/0.6095, allocations: 37.3 kB / 0.8278 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.6095, allocations: 1.719 kB / 0.8278 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6095, allocations: 2 kB / 0.8278 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.6095, allocations: 6.312 kB / 0.8278 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.6098, allocations: 253.1 kB / 0.828 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.6098, allocations: 1.5 kB / 0.828 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.374e-05/0.6098, allocations: 8.812 kB / 0.828 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.6098, allocations: 5.094 kB / 0.828 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.6098, allocations: 6.594 kB / 0.828 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.6098, allocations: 1.188 kB / 0.828 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6098, allocations: 2.234 kB / 0.828 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006859/0.6105, allocations: 432.2 kB / 0.8284 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.6106, allocations: 34.91 kB / 0.8285 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.6106, allocations: 3.688 kB / 0.8285 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.6107, allocations: 2.406 kB / 0.8285 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.6107, allocations: 24.86 kB / 0.8285 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/0.6108, allocations: 12.42 kB / 0.8285 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004299/0.6112, allocations: 287.8 kB / 0.8288 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6112, allocations: 4 kB / 0.8288 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004392/0.6116, allocations: 82.25 kB / 0.8289 GB, free: 11.15 MB / 0.6198 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.001068/0.6127, allocations: 0.9939 MB / 0.8298 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004464/0.6132, allocations: 257 kB / 0.8301 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6132, allocations: 0.9375 kB / 0.8301 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.6133, allocations: 118.1 kB / 0.8302 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.6136, allocations: 30.31 kB / 0.8302 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003913/0.6175, allocations: 3.269 MB / 0.8334 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.6179, allocations: 0.7638 MB / 0.8342 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001944/0.6181, allocations: 54.66 kB / 0.8342 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.6182, allocations: 84.23 kB / 0.8343 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of SimCode: time 1.192e-06/0.6182, allocations: 0 / 0.8343 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.6463, allocations: 7.829 MB / 0.8419 GB, free: 4.758 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.685, allocations: 16.38 kB / 0.842 GB, free: 4.746 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.csv --start-time -5 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.736891839886084] Failed to read output from testmodel.py, exit status != 0: 7.7653798609972 7.776082516 7.171202809 Calling exit ...