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.0008542/0.0008542, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001387/0.001387, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8524/0.8524, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7077/0.7077, allocations: 154.6 MB / 413.7 MB, free: 0.8164 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.564e-06/2.564e-06, allocations: 4 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.612e-05, allocations: 3.844 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001166/0.001182, allocations: 0.6579 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.0025, allocations: 1.353 MB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.972e-05/0.00256, allocations: 4 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004043/0.002964, allocations: 187.4 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.518e-05/0.003039, allocations: 107.7 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.003593, allocations: 238.4 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000401/0.003994, allocations: 487.8 kB / 0.621 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.004043, allocations: 0 / 0.621 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.004261, allocations: 255.7 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.004536, allocations: 223.6 kB / 0.6215 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.343e-05/0.004589, allocations: 20 kB / 0.6215 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.004751, allocations: 95.84 kB / 0.6216 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.004982, allocations: 279.4 kB / 0.6218 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.005089, allocations: 115.8 kB / 0.6219 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004191/0.005508, allocations: 0.5221 MB / 0.6225 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.00551, allocations: 4 kB / 0.6225 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005511, allocations: 0 / 0.6225 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.005517, allocations: 0 / 0.6225 GB, free: 9.211 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.0007327/0.006249, allocations: 0.5708 MB / 0.623 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.006288, allocations: 9.469 kB / 0.623 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.681e-05/0.006325, allocations: 34.73 kB / 0.6231 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.006425, allocations: 40.8 kB / 0.6231 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.006787, allocations: 329.7 kB / 0.6234 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.006802, allocations: 12.38 kB / 0.6234 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.006848, allocations: 24.36 kB / 0.6234 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.007087, allocations: 184.6 kB / 0.6236 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.007095, allocations: 4.188 kB / 0.6236 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.007109, allocations: 4.359 kB / 0.6236 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.007115, allocations: 4.125 kB / 0.6236 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.007244, allocations: 111.9 kB / 0.6237 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.007514, allocations: 294.4 kB / 0.624 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.007843, allocations: 315.6 kB / 0.6243 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.00797, allocations: 122.6 kB / 0.6244 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.007978, allocations: 4 kB / 0.6244 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003007/0.008279, allocations: 279.8 kB / 0.6247 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.093e-06/0.00828, allocations: 0 / 0.6247 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.000592/0.008872, allocations: 0.4933 MB / 0.6252 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.908e-05/0.008961, allocations: 114.8 kB / 0.6253 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.009298, allocations: 400.5 kB / 0.6257 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/0.009343, allocations: 45.69 kB / 0.6257 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.009458, allocations: 152.7 kB / 0.6259 GB, free: 5.48 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.009493, allocations: 39.75 kB / 0.6259 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.009599, allocations: 117.6 kB / 0.626 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.009721, allocations: 338.8 kB / 0.6263 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-05/0.009812, allocations: 83.95 kB / 0.6264 GB, free: 4.898 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005944/0.01041, allocations: 1.087 MB / 0.6275 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.01061, allocations: 253.5 kB / 0.6277 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.01062, allocations: 0 / 0.6277 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003336/0.01095, allocations: 337 kB / 0.628 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.01097, allocations: 8 kB / 0.6281 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.01097, allocations: 4 kB / 0.6281 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.01099, allocations: 7.938 kB / 0.6281 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.01109, allocations: 28.45 kB / 0.6281 GB, free: 2.852 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.01109, allocations: 8.625 kB / 0.6281 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000373/0.01147, allocations: 84.02 kB / 0.6282 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.01148, allocations: 12 kB / 0.6282 GB, free: 2.75 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.0001537/0.01164, allocations: 192.7 kB / 0.6284 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.01167, allocations: 31.81 kB / 0.6284 GB, free: 2.523 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/0.01172, allocations: 41.95 kB / 0.6284 GB, free: 2.477 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01172, allocations: 3.938 kB / 0.6285 GB, free: 2.473 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.01173, allocations: 0 / 0.6285 GB, free: 2.473 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.01173, allocations: 4 kB / 0.6285 GB, free: 2.469 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.01209, allocations: 232.6 kB / 0.6287 GB, free: 2.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.01209, allocations: 4 kB / 0.6287 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.759e-06/0.0121, allocations: 3.938 kB / 0.6287 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.0121, allocations: 4 kB / 0.6287 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.01212, allocations: 15.92 kB / 0.6287 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01212, allocations: 3.938 kB / 0.6287 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01212, allocations: 0 / 0.6287 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.0125, allocations: 434.4 kB / 0.6291 GB, free: 1.719 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/0.01253, allocations: 23.86 kB / 0.6291 GB, free: 1.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.01255, allocations: 7.922 kB / 0.6292 GB, free: 1.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.361e-05/0.0126, allocations: 11.94 kB / 0.6292 GB, free: 1.676 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.01264, allocations: 15.98 kB / 0.6292 GB, free: 1.66 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.01266, allocations: 11.98 kB / 0.6292 GB, free: 1.648 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002027/0.01286, allocations: 295 kB / 0.6295 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01286, allocations: 0 / 0.6295 GB, free: 1.363 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002656/0.01313, allocations: 67.94 kB / 0.6295 GB, free: 1.297 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.0006173/0.01374, allocations: 1.006 MB / 0.6305 GB, free: 264 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003052/0.01405, allocations: 251.6 kB / 0.6308 GB, free: 12 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.01405, allocations: 0 / 0.6308 GB, free: 12 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.01418, allocations: 119.9 kB / 0.6309 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.01438, allocations: 29.7 kB / 0.6309 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.01807, allocations: 3.253 MB / 0.6341 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.01822, allocations: 161.1 kB / 0.6342 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002064/0.01842, allocations: 54.11 kB / 0.6343 GB, free: 12.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.01854, allocations: 84.47 kB / 0.6344 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of SimCode: time 1.353e-06/0.01854, allocations: 0 / 0.6344 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.04241, allocations: 8.747 MB / 0.6429 GB, free: 3.648 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.141/7.184, allocations: 4.062 kB / 0.6429 GB, free: 3.645 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 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.78840256202966] Failed to read output from testmodel.py, exit status != 0: 7.266137116588652 7.279188539 7.27195994 Calling exit ...