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.000774/0.000774, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009766/0.0009766, allocations: 208.6 kB / 22.25 MB, free: 3.59 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.9172/0.9172, 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/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.7874/0.7874, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.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: 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.001333/0.001333, allocations: 70.77 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4873/0.4886, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001319/0.49, allocations: 0.6609 MB / 0.8184 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.4911, allocations: 1.359 MB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.4912, allocations: 3.938 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003953/0.4916, allocations: 182 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.053e-05/0.4917, allocations: 107.3 kB / 0.8201 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.4921, allocations: 238.6 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003639/0.4925, allocations: 489.6 kB / 0.8207 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.4925, allocations: 12.48 kB / 0.8208 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.4927, allocations: 203.5 kB / 0.821 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.4929, allocations: 231.1 kB / 0.8212 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.682e-05/0.493, allocations: 25.25 kB / 0.8212 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.4931, allocations: 95.73 kB / 0.8213 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.4934, allocations: 267.9 kB / 0.8215 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.4935, allocations: 133.8 kB / 0.8217 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000442/0.494, allocations: 482.3 kB / 0.8221 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.494, allocations: 0 / 0.8221 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.494, allocations: 0 / 0.8221 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.494, allocations: 3.938 kB / 0.8221 GB, free: 14.9 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.000773/0.4948, allocations: 0.5737 MB / 0.8227 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.4948, allocations: 13.41 kB / 0.8227 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.329e-05/0.4948, allocations: 38.36 kB / 0.8227 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.293e-05/0.4949, allocations: 30.09 kB / 0.8228 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.4953, allocations: 323.5 kB / 0.8231 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.4953, allocations: 13.33 kB / 0.8231 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.4954, allocations: 21.39 kB / 0.8231 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.4956, allocations: 191.5 kB / 0.8233 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.4956, allocations: 3.938 kB / 0.8233 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.4956, allocations: 2.188 kB / 0.8233 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4956, allocations: 1.406 kB / 0.8233 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.4958, allocations: 108.4 kB / 0.8234 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.4961, allocations: 305 kB / 0.8237 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.4964, allocations: 310.6 kB / 0.824 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.4965, allocations: 126.6 kB / 0.8241 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.4965, allocations: 1.219 kB / 0.8241 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003508/0.4969, allocations: 292 kB / 0.8244 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.153e-06/0.4969, allocations: 0 / 0.8244 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0006271/0.4975, allocations: 496.7 kB / 0.8249 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.4976, allocations: 114.8 kB / 0.825 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003846/0.498, allocations: 400 kB / 0.8254 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.956e-05/0.498, allocations: 38.66 kB / 0.8254 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.4981, allocations: 150.2 kB / 0.8255 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/0.4982, allocations: 45.95 kB / 0.8256 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.4983, allocations: 118.6 kB / 0.8257 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4985, allocations: 342.8 kB / 0.826 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.4986, allocations: 83.67 kB / 0.8261 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007709/0.4994, allocations: 1.107 MB / 0.8272 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.4997, allocations: 251.5 kB / 0.8274 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.4997, allocations: 1.891 kB / 0.8274 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004626/0.5001, allocations: 321.5 kB / 0.8277 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.5001, allocations: 10 kB / 0.8277 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.5002, allocations: 8.703 kB / 0.8278 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.5002, allocations: 5.594 kB / 0.8278 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.5003, allocations: 37.2 kB / 0.8278 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.5003, allocations: 5.484 kB / 0.8278 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.5008, allocations: 75.5 kB / 0.8279 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.5008, allocations: 10.77 kB / 0.8279 GB, free: 11.01 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.0002103/0.501, allocations: 198.7 kB / 0.8281 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.5011, allocations: 34.19 kB / 0.8281 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.927e-05/0.5011, allocations: 33.31 kB / 0.8281 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.5011, allocations: 7.672 kB / 0.8281 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.5011, allocations: 0 / 0.8281 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5011, allocations: 1.781 kB / 0.8281 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.5014, allocations: 228.9 kB / 0.8284 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5014, allocations: 1.031 kB / 0.8284 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.522e-05/0.5015, allocations: 9.062 kB / 0.8284 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.5015, allocations: 13.53 kB / 0.8284 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.5015, allocations: 5.266 kB / 0.8284 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.5015, allocations: 2.375 kB / 0.8284 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5015, allocations: 1.031 kB / 0.8284 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007635/0.5023, allocations: 433.8 kB / 0.8288 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.5023, allocations: 26.22 kB / 0.8288 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.5023, allocations: 3.953 kB / 0.8288 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.085e-05/0.5024, allocations: 6.75 kB / 0.8288 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.5025, allocations: 21.19 kB / 0.8289 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.5025, allocations: 12.98 kB / 0.8289 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003081/0.5028, allocations: 291.6 kB / 0.8292 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.5028, allocations: 4 kB / 0.8292 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003168/0.5031, allocations: 81.17 kB / 0.8292 GB, free: 10.27 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.0008672/0.504, allocations: 0.9927 MB / 0.8302 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00045/0.5044, allocations: 250.8 kB / 0.8304 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5044, allocations: 0 / 0.8304 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.5046, allocations: 131 kB / 0.8306 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.5048, allocations: 26.78 kB / 0.8306 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003431/0.5083, allocations: 3.26 MB / 0.8338 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.5085, allocations: 159.6 kB / 0.8339 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001429/0.5086, allocations: 48.58 kB / 0.834 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.5087, allocations: 85.62 kB / 0.8341 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of SimCode: time 6.71e-07/0.5087, allocations: 0 / 0.8341 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.5327, allocations: 8.643 MB / 0.8425 GB, free: 3.832 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.961/7.493, allocations: 11.75 kB / 0.8425 GB, free: 3.828 MB / 0.6198 GB " [Timeout remaining time 652] (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: 10.417879726272076] Failed to read output from testmodel.py, exit status != 0: 7.574155136011541 7.584823675 7.088812778 Calling exit ...