Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.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.0007285/0.0007285, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007733/0.0007733, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8309/0.8309, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.6841/0.6841, allocations: 154.6 MB / 414.5 MB, free: 0.8047 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.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.6193 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/2.061e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001067/0.001088, allocations: 0.6581 MB / 0.62 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.002287, allocations: 1.361 MB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.002338, allocations: 3.938 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.002707, allocations: 195.4 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.72e-05/0.002774, allocations: 103.7 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.003218, allocations: 233.9 kB / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003291/0.003548, allocations: 487.7 kB / 0.6223 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/0.003584, allocations: 11.97 kB / 0.6223 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.003777, allocations: 247.7 kB / 0.6225 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.00401, allocations: 223.5 kB / 0.6228 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.839e-05/0.004058, allocations: 24 kB / 0.6228 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.00421, allocations: 107.8 kB / 0.6229 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.004423, allocations: 267.5 kB / 0.6231 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.026e-05/0.004514, allocations: 119.7 kB / 0.6232 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.004946, allocations: 0.526 MB / 0.6238 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.004948, allocations: 0 / 0.6238 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004949, allocations: 0 / 0.6238 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.004953, allocations: 0 / 0.6238 GB, free: 8.586 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.0006684/0.005622, allocations: 0.5669 MB / 0.6243 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.005651, allocations: 12.03 kB / 0.6243 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.605e-05/0.005737, allocations: 32.8 kB / 0.6244 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.006066, allocations: 317.8 kB / 0.6247 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.006081, allocations: 12.38 kB / 0.6247 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.006121, allocations: 24.31 kB / 0.6247 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.006326, allocations: 196.6 kB / 0.6249 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.006333, allocations: 192 / 0.6249 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.006346, allocations: 4.359 kB / 0.6249 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.00635, allocations: 384 / 0.6249 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.006465, allocations: 115.8 kB / 0.625 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.00671, allocations: 267 kB / 0.6253 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.007008, allocations: 319.6 kB / 0.6256 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.00712, allocations: 118.6 kB / 0.6257 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.007127, allocations: 4 kB / 0.6257 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/0.007384, allocations: 277.6 kB / 0.6259 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 1.152e-06/0.007386, allocations: 0 / 0.6259 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0005388/0.007924, allocations: 0.4934 MB / 0.6264 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.007973, allocations: 110.8 kB / 0.6265 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.008242, allocations: 408.4 kB / 0.6269 GB, free: 5.156 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.008279, allocations: 37.7 kB / 0.627 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.709e-05/0.008366, allocations: 152.8 kB / 0.6271 GB, free: 4.957 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.008396, allocations: 51.61 kB / 0.6271 GB, free: 4.906 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.008497, allocations: 117.5 kB / 0.6273 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.008585, allocations: 342.8 kB / 0.6276 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.022e-05/0.008666, allocations: 87.95 kB / 0.6277 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/0.009137, allocations: 1.087 MB / 0.6287 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.009329, allocations: 253.7 kB / 0.629 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.009331, allocations: 0 / 0.629 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003169/0.009648, allocations: 333 kB / 0.6293 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.009663, allocations: 11.98 kB / 0.6293 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.009669, allocations: 7.938 kB / 0.6293 GB, free: 2.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.009682, allocations: 4 kB / 0.6293 GB, free: 2.336 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.156e-05/0.009773, allocations: 27.92 kB / 0.6293 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.009781, allocations: 8.344 kB / 0.6293 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.01013, allocations: 78.75 kB / 0.6294 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.01014, allocations: 12 kB / 0.6294 GB, free: 2.215 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.0001305/0.01027, allocations: 192.7 kB / 0.6296 GB, free: 2.02 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.0103, allocations: 35.81 kB / 0.6297 GB, free: 1.984 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.01034, allocations: 29.95 kB / 0.6297 GB, free: 1.949 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01034, allocations: 11.98 kB / 0.6297 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.01035, allocations: 0 / 0.6297 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.01035, allocations: 11.88 kB / 0.6297 GB, free: 1.926 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.0105, allocations: 201.2 kB / 0.6299 GB, free: 1.699 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.0105, allocations: 4 kB / 0.6299 GB, free: 1.695 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.114e-06/0.01051, allocations: 4 kB / 0.6299 GB, free: 1.691 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.01051, allocations: 0 / 0.6299 GB, free: 1.691 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.01052, allocations: 7.984 kB / 0.6299 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.01052, allocations: 0 / 0.6299 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.01052, allocations: 4 kB / 0.6299 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.01087, allocations: 442.3 kB / 0.6303 GB, free: 1.223 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.01089, allocations: 23.81 kB / 0.6304 GB, free: 1.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.01091, allocations: 7.984 kB / 0.6304 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.733e-05/0.01096, allocations: 4 kB / 0.6304 GB, free: 1.188 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.011, allocations: 27.86 kB / 0.6304 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.01101, allocations: 11.98 kB / 0.6304 GB, free: 1.148 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001871/0.0112, allocations: 291 kB / 0.6307 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.0112, allocations: 0 / 0.6307 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002481/0.01145, allocations: 79.88 kB / 0.6308 GB, free: 0.7891 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.0001542/0.0116, allocations: 143.6 kB / 0.6309 GB, free: 0.6406 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002714/0.01188, allocations: 247.8 kB / 0.6311 GB, free: 408 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01188, allocations: 3.938 kB / 0.6311 GB, free: 404 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.01202, allocations: 155.8 kB / 0.6313 GB, free: 248 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.0122, allocations: 25.41 kB / 0.6313 GB, free: 224 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000601/0.0128, allocations: 0.5964 MB / 0.6319 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.695e-05/0.01289, allocations: 161.2 kB / 0.632 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.802e-05/0.01294, allocations: 28.5 kB / 0.6321 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of SimCode: time 3.7e-07/0.01294, allocations: 0 / 0.6321 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of Templates: time 0.004149/0.01709, allocations: 4.426 MB / 0.6364 GB, free: 11.03 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.325754506513476] Failed to read output from testmodel.py, exit status != 0: 0.021724632009863853 0.029207680000000003 0.022700516 Calling exit ...