Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001257/0.001257, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.0014/0.0014, allocations: 158.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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.435/1.435, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.172/1.172, allocations: 154.6 MB / 413.8 MB, free: 5.234 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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: translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.6186 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.172e-05/3.391e-05, allocations: 5.062 kB / 0.6186 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002122/0.002156, allocations: 0.6483 MB / 0.6192 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.004343, allocations: 1.363 MB / 0.6206 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.004406, allocations: 0 / 0.6206 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005149/0.004921, allocations: 187 kB / 0.6207 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.005066, allocations: 119.5 kB / 0.6208 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007254/0.005792, allocations: 240.2 kB / 0.6211 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006267/0.006419, allocations: 495.7 kB / 0.6215 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.247e-05/0.006461, allocations: 4 kB / 0.6216 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003325/0.006794, allocations: 243.7 kB / 0.6218 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.007169, allocations: 215.6 kB / 0.622 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.007271, allocations: 23.98 kB / 0.622 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002711/0.007543, allocations: 95.84 kB / 0.6221 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004215/0.007964, allocations: 275.4 kB / 0.6224 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.008161, allocations: 119.8 kB / 0.6225 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007064/0.008867, allocations: 0.5376 MB / 0.623 GB, free: 12 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.00887, allocations: 0 / 0.623 GB, free: 12 kB / 0.5294 GB Notification: Performance of FrontEnd: time 9.81e-07/0.008871, allocations: 0 / 0.623 GB, free: 12 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.008877, allocations: 0 / 0.623 GB, free: 12 kB / 0.5294 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.001129/0.01001, allocations: 0.5669 MB / 0.6236 GB, free: 15.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.01004, allocations: 8.031 kB / 0.6236 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.01018, allocations: 32.8 kB / 0.6236 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000573/0.01075, allocations: 321.7 kB / 0.6239 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.01078, allocations: 16.38 kB / 0.6239 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.105e-05/0.01085, allocations: 20.38 kB / 0.6239 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.01119, allocations: 196.6 kB / 0.6241 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.0112, allocations: 192 / 0.6241 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.01122, allocations: 4.375 kB / 0.6241 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.01122, allocations: 384 / 0.6241 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.01142, allocations: 115.9 kB / 0.6242 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.01184, allocations: 267 kB / 0.6245 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005136/0.01235, allocations: 315.6 kB / 0.6248 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.01255, allocations: 130.5 kB / 0.6249 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.01256, allocations: 0 / 0.6249 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005/0.01306, allocations: 285.5 kB / 0.6252 GB, free: 13.6 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.01306, allocations: 3.938 kB / 0.6252 GB, free: 13.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0009429/0.014, allocations: 0.4895 MB / 0.6257 GB, free: 13.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.549e-05/0.0141, allocations: 114.8 kB / 0.6258 GB, free: 12.96 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005304/0.01463, allocations: 396.5 kB / 0.6262 GB, free: 12.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-05/0.01471, allocations: 45.69 kB / 0.6262 GB, free: 12.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.01488, allocations: 152.8 kB / 0.6264 GB, free: 12.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/0.01493, allocations: 47.67 kB / 0.6264 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.01514, allocations: 117.5 kB / 0.6265 GB, free: 12.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.01534, allocations: 342.8 kB / 0.6268 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.01548, allocations: 87.89 kB / 0.6269 GB, free: 11.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.01653, allocations: 1.089 MB / 0.628 GB, free: 10.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/0.0169, allocations: 253.5 kB / 0.6282 GB, free: 10.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.0169, allocations: 4 kB / 0.6282 GB, free: 10.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005811/0.01748, allocations: 329.1 kB / 0.6285 GB, free: 9.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.0175, allocations: 4 kB / 0.6286 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.01751, allocations: 4.125 kB / 0.6286 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/0.01754, allocations: 12 kB / 0.6286 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.01771, allocations: 31.86 kB / 0.6286 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.01773, allocations: 7.938 kB / 0.6286 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008276/0.01856, allocations: 74.53 kB / 0.6287 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.01858, allocations: 8 kB / 0.6287 GB, free: 9.633 MB / 0.545 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.000245/0.01882, allocations: 197.5 kB / 0.6289 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-05/0.01889, allocations: 27.81 kB / 0.6289 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.573e-05/0.01895, allocations: 37.95 kB / 0.6289 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.01896, allocations: 8.172 kB / 0.6289 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.01897, allocations: 4 kB / 0.6289 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.01897, allocations: 7.922 kB / 0.629 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.01926, allocations: 197.2 kB / 0.6291 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.01926, allocations: 0 / 0.6291 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.081e-05/0.01928, allocations: 11.94 kB / 0.6292 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.01929, allocations: 7.984 kB / 0.6292 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.01931, allocations: 4 kB / 0.6292 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01931, allocations: 0 / 0.6292 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.01931, allocations: 0.625 kB / 0.6292 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006474/0.01996, allocations: 432.8 kB / 0.6296 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.02001, allocations: 27.84 kB / 0.6296 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.02005, allocations: 8 kB / 0.6296 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-05/0.02014, allocations: 4 kB / 0.6296 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.0202, allocations: 27.78 kB / 0.6296 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.02023, allocations: 16 kB / 0.6297 GB, free: 8.578 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003497/0.02058, allocations: 287 kB / 0.6299 GB, free: 8.301 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.02058, allocations: 0 / 0.6299 GB, free: 8.301 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004077/0.02099, allocations: 83.86 kB / 0.63 GB, free: 8.219 MB / 0.545 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.0002641/0.02126, allocations: 135.1 kB / 0.6301 GB, free: 8.074 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000477/0.02173, allocations: 251.7 kB / 0.6304 GB, free: 7.828 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02173, allocations: 0 / 0.6304 GB, free: 7.828 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.02194, allocations: 127.8 kB / 0.6305 GB, free: 7.703 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.02224, allocations: 32.77 kB / 0.6305 GB, free: 7.672 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.02326, allocations: 0.5679 MB / 0.6311 GB, free: 7.074 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.02345, allocations: 165.1 kB / 0.6312 GB, free: 6.891 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001199/0.02357, allocations: 41.95 kB / 0.6313 GB, free: 6.848 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.02365, allocations: 28.48 kB / 0.6313 GB, free: 6.82 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.02365, allocations: 4 kB / 0.6313 GB, free: 6.816 MB / 0.545 GB Notification: Performance of Templates: time 0.01119/0.03485, allocations: 5.389 MB / 0.6366 GB, free: 1.535 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.834799904376268] Failed to read output from testmodel.py, exit status != 0: 0.04448479786515236 0.061479574 0.049217444000000006 Calling exit ...