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.0007727/0.0007727, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 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.0007831/0.0007831, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8329/0.8329, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6807/0.6807, allocations: 154.6 MB / 414.5 MB, free: 0.8125 MB / 378.7 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 179] 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 1.774e-06/1.774e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.923e-05, allocations: 4.812 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001034/0.001053, allocations: 0.6605 MB / 0.62 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.00227, allocations: 1.353 MB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.002318, allocations: 3.938 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.002682, allocations: 183.5 kB / 0.6215 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.147e-05/0.002754, allocations: 111.6 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.003186, allocations: 242 kB / 0.6218 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.003509, allocations: 483.8 kB / 0.6223 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.317e-05/0.003542, allocations: 7.938 kB / 0.6223 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004337/0.003976, allocations: 247.7 kB / 0.6225 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.004207, allocations: 223.6 kB / 0.6227 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.271e-05/0.00425, allocations: 23.94 kB / 0.6228 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.004397, allocations: 99.78 kB / 0.6229 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.004607, allocations: 279.4 kB / 0.6231 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.928e-05/0.004696, allocations: 115.8 kB / 0.6232 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.00507, allocations: 0.526 MB / 0.6237 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.005072, allocations: 0 / 0.6237 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.32e-07/0.005073, allocations: 0 / 0.6237 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.005076, allocations: 4 kB / 0.6237 GB, free: 8.625 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.0006057/0.005682, allocations: 0.5631 MB / 0.6243 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.00571, allocations: 8.031 kB / 0.6243 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.275e-05/0.005793, allocations: 32.8 kB / 0.6243 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.006111, allocations: 325.7 kB / 0.6246 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.006125, allocations: 12.38 kB / 0.6247 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.006165, allocations: 24.31 kB / 0.6247 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.006365, allocations: 188.7 kB / 0.6249 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.006373, allocations: 192 / 0.6249 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.006386, allocations: 8.375 kB / 0.6249 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.00639, allocations: 384 / 0.6249 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.006503, allocations: 123.8 kB / 0.625 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.006727, allocations: 270.9 kB / 0.6252 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.007018, allocations: 311.7 kB / 0.6255 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.007128, allocations: 122.5 kB / 0.6257 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-06/0.007135, allocations: 0 / 0.6257 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002587/0.007394, allocations: 291.3 kB / 0.6259 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 9.12e-07/0.007395, allocations: 0 / 0.6259 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0005088/0.007904, allocations: 497.2 kB / 0.6264 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.007951, allocations: 122.7 kB / 0.6265 GB, free: 5.578 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.008213, allocations: 396.5 kB / 0.6269 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.008252, allocations: 45.69 kB / 0.6269 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.008334, allocations: 148.8 kB / 0.6271 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.008363, allocations: 39.73 kB / 0.6271 GB, free: 4.949 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.008464, allocations: 121.5 kB / 0.6272 GB, free: 4.824 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.00855, allocations: 346.8 kB / 0.6276 GB, free: 4.477 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.004e-05/0.00863, allocations: 91.95 kB / 0.6277 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004583/0.009088, allocations: 1.08 MB / 0.6287 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.009273, allocations: 257.5 kB / 0.629 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.009276, allocations: 4 kB / 0.629 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005346/0.009811, allocations: 329.3 kB / 0.6293 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.009822, allocations: 8.094 kB / 0.6293 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.009828, allocations: 4 kB / 0.6293 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.00984, allocations: 8 kB / 0.6293 GB, free: 2.375 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.721e-05/0.009927, allocations: 27.92 kB / 0.6293 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.009934, allocations: 7.938 kB / 0.6293 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.01027, allocations: 68.56 kB / 0.6294 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.01029, allocations: 20.22 kB / 0.6294 GB, free: 2.254 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.0001264/0.01042, allocations: 196.7 kB / 0.6296 GB, free: 2.055 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.01044, allocations: 35.75 kB / 0.6296 GB, free: 2.02 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.01048, allocations: 33.95 kB / 0.6297 GB, free: 1.98 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.01048, allocations: 4 kB / 0.6297 GB, free: 1.977 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01049, allocations: 0 / 0.6297 GB, free: 1.977 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.01049, allocations: 7.875 kB / 0.6297 GB, free: 1.969 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.01062, allocations: 205.2 kB / 0.6299 GB, free: 1.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01062, allocations: 0 / 0.6299 GB, free: 1.738 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.905e-06/0.01063, allocations: 11.98 kB / 0.6299 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.01063, allocations: 4 kB / 0.6299 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.01064, allocations: 4 kB / 0.6299 GB, free: 1.719 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01064, allocations: 4 kB / 0.6299 GB, free: 1.715 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01064, allocations: 0 / 0.6299 GB, free: 1.715 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.01098, allocations: 434.3 kB / 0.6303 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.011, allocations: 31.78 kB / 0.6303 GB, free: 1.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.01102, allocations: 4 kB / 0.6304 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.517e-05/0.01106, allocations: 4 kB / 0.6304 GB, free: 1.227 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.0111, allocations: 23.91 kB / 0.6304 GB, free: 1.203 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.01112, allocations: 12 kB / 0.6304 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001871/0.0113, allocations: 291 kB / 0.6307 GB, free: 0.9102 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.0113, allocations: 0 / 0.6307 GB, free: 0.9102 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00023/0.01153, allocations: 79.92 kB / 0.6307 GB, free: 0.832 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.0001456/0.01168, allocations: 143 kB / 0.6309 GB, free: 0.6836 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002585/0.01194, allocations: 250.3 kB / 0.6311 GB, free: 452 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01194, allocations: 4.25 kB / 0.6311 GB, free: 448 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.01208, allocations: 151.9 kB / 0.6313 GB, free: 296 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.01225, allocations: 28.53 kB / 0.6313 GB, free: 268 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/0.01281, allocations: 0.6042 MB / 0.6319 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.08e-05/0.0129, allocations: 149.2 kB / 0.632 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.01295, allocations: 36.42 kB / 0.6321 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.01295, allocations: 4 kB / 0.6321 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.004155/0.01711, allocations: 4.403 MB / 0.6364 GB, free: 11.07 MB / 0.6042 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.203815562650561] Failed to read output from testmodel.py, exit status != 0: 0.02119240816682577 0.028746823 0.022130294000000002 Calling exit ...