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.00111/0.00111, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001203/0.001203, allocations: 217.7 kB / 22.26 MB, free: 3.691 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.9617/0.9617, allocations: 230.6 MB / 256 MB, free: 9.789 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.7979/0.7979, allocations: 203.8 MB / 0.5041 GB, free: 10.75 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.00139/0.00139, allocations: 63.22 kB / 0.7182 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5547/0.5561, 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.TimeTable): time 0.001671/0.5577, allocations: 0.6822 MB / 0.8185 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.5592, allocations: 1.387 MB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.5593, allocations: 5.344 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004569/0.5597, allocations: 183.6 kB / 0.8201 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.69e-05/0.5598, allocations: 100.5 kB / 0.8202 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005607/0.5604, allocations: 248.2 kB / 0.8204 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005212/0.5609, allocations: 491.8 kB / 0.8209 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.683e-05/0.561, allocations: 17.47 kB / 0.8209 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.5612, allocations: 205.1 kB / 0.8211 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003327/0.5615, allocations: 231.9 kB / 0.8213 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.012e-05/0.5616, allocations: 23.5 kB / 0.8213 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.5618, allocations: 95.08 kB / 0.8214 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003642/0.5622, allocations: 276 kB / 0.8217 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.5623, allocations: 152 kB / 0.8218 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005518/0.5629, allocations: 478.2 kB / 0.8223 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5629, allocations: 4 kB / 0.8223 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.505e-06/0.5629, allocations: 1.5 kB / 0.8223 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.5629, allocations: 0 / 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.001008/0.5639, allocations: 0.5799 MB / 0.8229 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.564, allocations: 8.906 kB / 0.8229 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.712e-05/0.564, allocations: 34.98 kB / 0.8229 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.5641, allocations: 30.7 kB / 0.8229 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.5646, allocations: 334.1 kB / 0.8232 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.5646, allocations: 17.88 kB / 0.8233 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.5646, allocations: 20.95 kB / 0.8233 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.5649, allocations: 186.3 kB / 0.8235 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.5649, allocations: 4.547 kB / 0.8235 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.5649, allocations: 2.328 kB / 0.8235 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5649, allocations: 1.188 kB / 0.8235 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.5651, allocations: 112.6 kB / 0.8236 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.5655, allocations: 358.5 kB / 0.8239 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.5659, allocations: 310.5 kB / 0.8242 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.5661, allocations: 124.5 kB / 0.8243 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.5661, allocations: 1.969 kB / 0.8243 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004343/0.5665, allocations: 289.4 kB / 0.8246 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.5665, allocations: 0 / 0.8246 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0008399/0.5674, allocations: 0.4974 MB / 0.8251 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.5675, allocations: 110.4 kB / 0.8252 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.5679, allocations: 400.4 kB / 0.8256 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.758e-05/0.5679, allocations: 41.94 kB / 0.8256 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.568, allocations: 149.8 kB / 0.8258 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.568, allocations: 44.91 kB / 0.8258 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.5682, allocations: 119.3 kB / 0.8259 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.5683, allocations: 348.1 kB / 0.8263 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.5684, allocations: 85.22 kB / 0.8263 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.5688, allocations: 477.3 kB / 0.8268 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.5691, allocations: 261.7 kB / 0.827 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5691, allocations: 1.344 kB / 0.827 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003839/0.5694, allocations: 324.6 kB / 0.8274 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.5695, allocations: 15.72 kB / 0.8274 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.5695, allocations: 3.062 kB / 0.8274 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.5695, allocations: 5.562 kB / 0.8274 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.5696, allocations: 29.91 kB / 0.8274 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.5696, allocations: 5.719 kB / 0.8274 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.57, allocations: 72.42 kB / 0.8275 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.5701, allocations: 15.39 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.0002234/0.5703, allocations: 198.8 kB / 0.8277 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.5703, allocations: 33.44 kB / 0.8277 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.68e-05/0.5704, allocations: 33.42 kB / 0.8277 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.5704, allocations: 2.344 kB / 0.8277 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5704, allocations: 1.906 kB / 0.8277 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.5704, allocations: 2.203 kB / 0.8278 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.5706, allocations: 254 kB / 0.828 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5706, allocations: 4.609 kB / 0.828 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.154e-05/0.5706, allocations: 4.188 kB / 0.828 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.5706, allocations: 6.906 kB / 0.828 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.5706, allocations: 13.42 kB / 0.828 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5707, allocations: 1.594 kB / 0.828 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5707, allocations: 1.469 kB / 0.828 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005898/0.5712, allocations: 440.4 kB / 0.8284 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.5713, allocations: 26.89 kB / 0.8285 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.5713, allocations: 7.016 kB / 0.8285 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.496e-05/0.5714, allocations: 2.969 kB / 0.8285 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.5714, allocations: 16.89 kB / 0.8285 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.5714, allocations: 16.36 kB / 0.8285 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003411/0.5718, allocations: 288.3 kB / 0.8288 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5718, allocations: 0 / 0.8288 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002932/0.5721, allocations: 81.22 kB / 0.8289 GB, free: 11.14 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.0009724/0.5731, allocations: 0.9969 MB / 0.8298 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003382/0.5734, allocations: 253.3 kB / 0.8301 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5734, allocations: 0 / 0.8301 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.5735, allocations: 119 kB / 0.8302 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.5737, allocations: 30.78 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.003497/0.5772, allocations: 3.272 MB / 0.8334 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.5775, allocations: 0.7635 MB / 0.8342 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001173/0.5777, allocations: 58.19 kB / 0.8342 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.5778, allocations: 81.16 kB / 0.8343 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/0.5778, allocations: 0 / 0.8343 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02495/0.6027, allocations: 7.82 MB / 0.8419 GB, free: 4.723 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/7.614, allocations: 15.67 kB / 0.8419 GB, free: 4.711 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.683792328927666] Failed to read output from testmodel.py, exit status != 0: 7.697066867025569 7.707374036 7.142436259 Calling exit ...