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.001358/0.001358, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001571/0.001571, allocations: 165.2 kB / 22.46 MB, free: 5.359 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.441/1.441, 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.183/1.183, allocations: 154.6 MB / 413.8 MB, free: 5.227 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.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 3.055e-06/3.055e-06, allocations: 3.938 kB / 0.6186 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.617e-05/3.922e-05, allocations: 5.016 kB / 0.6186 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002032/0.002071, allocations: 0.655 MB / 0.6192 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002356/0.004427, allocations: 1.357 MB / 0.6206 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.434e-05/0.004511, allocations: 0 / 0.6206 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005338/0.005045, allocations: 191.4 kB / 0.6207 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.005202, allocations: 103.6 kB / 0.6208 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008837/0.006086, allocations: 247.2 kB / 0.6211 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006926/0.006779, allocations: 483.8 kB / 0.6215 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.006824, allocations: 4 kB / 0.6215 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005491/0.007373, allocations: 255.6 kB / 0.6218 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004611/0.007834, allocations: 223.6 kB / 0.622 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.007976, allocations: 20 kB / 0.622 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.008311, allocations: 95.84 kB / 0.6221 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004818/0.008793, allocations: 275.4 kB / 0.6224 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.009062, allocations: 115.8 kB / 0.6225 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008381/0.009901, allocations: 0.5221 MB / 0.623 GB, free: 32 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.009904, allocations: 3.938 kB / 0.623 GB, free: 28 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.009906, allocations: 0 / 0.623 GB, free: 28 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.009917, allocations: 0 / 0.623 GB, free: 28 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.00131/0.01123, allocations: 0.5708 MB / 0.6236 GB, free: 15.42 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.01127, allocations: 8.031 kB / 0.6236 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.01144, allocations: 32.8 kB / 0.6236 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006694/0.01211, allocations: 329.7 kB / 0.6239 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.01214, allocations: 12.38 kB / 0.6239 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-05/0.01222, allocations: 24.36 kB / 0.6239 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.01259, allocations: 184.7 kB / 0.6241 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.0126, allocations: 4.125 kB / 0.6241 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.01263, allocations: 4.375 kB / 0.6241 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.01263, allocations: 384 / 0.6241 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.01284, allocations: 119.9 kB / 0.6242 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.01332, allocations: 267 kB / 0.6245 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005733/0.0139, allocations: 315.7 kB / 0.6248 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.01409, allocations: 122.5 kB / 0.6249 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.0141, allocations: 0 / 0.6249 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005326/0.01464, allocations: 289.5 kB / 0.6252 GB, free: 13.61 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.01464, allocations: 4 kB / 0.6252 GB, free: 13.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.00108/0.01572, allocations: 0.4934 MB / 0.6257 GB, free: 13.11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.586e-05/0.01581, allocations: 110.8 kB / 0.6258 GB, free: 12.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005547/0.01637, allocations: 400.4 kB / 0.6262 GB, free: 12.58 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-05/0.01646, allocations: 41.7 kB / 0.6262 GB, free: 12.53 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.01664, allocations: 156.7 kB / 0.6264 GB, free: 12.37 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/0.01669, allocations: 39.69 kB / 0.6264 GB, free: 12.33 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.01691, allocations: 121.5 kB / 0.6265 GB, free: 12.21 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.0171, allocations: 342.8 kB / 0.6268 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.01725, allocations: 87.95 kB / 0.6269 GB, free: 11.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.01829, allocations: 1.089 MB / 0.628 GB, free: 10.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.01868, allocations: 261.5 kB / 0.6282 GB, free: 10.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.01868, allocations: 4 kB / 0.6282 GB, free: 10.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006277/0.01931, allocations: 325.1 kB / 0.6285 GB, free: 9.777 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.01933, allocations: 4 kB / 0.6285 GB, free: 9.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.01934, allocations: 4.406 kB / 0.6286 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/0.01937, allocations: 12 kB / 0.6286 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.01955, allocations: 27.92 kB / 0.6286 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.09e-05/0.01957, allocations: 15.86 kB / 0.6286 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008145/0.02039, allocations: 64.44 kB / 0.6287 GB, free: 9.652 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.02041, allocations: 16 kB / 0.6287 GB, free: 9.637 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.0002619/0.02067, allocations: 197.5 kB / 0.6289 GB, free: 9.438 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.02074, allocations: 27.81 kB / 0.6289 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.565e-05/0.0208, allocations: 38.08 kB / 0.6289 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.02081, allocations: 4 kB / 0.6289 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.02082, allocations: 4 kB / 0.6289 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.02083, allocations: 7.922 kB / 0.6289 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.02111, allocations: 201.2 kB / 0.6291 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.02111, allocations: 0 / 0.6291 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.461e-05/0.02114, allocations: 11.92 kB / 0.6292 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.02114, allocations: 4 kB / 0.6292 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.02116, allocations: 8 kB / 0.6292 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.02116, allocations: 3.938 kB / 0.6292 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.02116, allocations: 0 / 0.6292 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006528/0.02182, allocations: 432.6 kB / 0.6296 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.02187, allocations: 23.86 kB / 0.6296 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.02191, allocations: 4 kB / 0.6296 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.02201, allocations: 7.984 kB / 0.6296 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.02208, allocations: 19.86 kB / 0.6296 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.02211, allocations: 19.98 kB / 0.6297 GB, free: 8.586 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003582/0.02247, allocations: 287 kB / 0.6299 GB, free: 8.309 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02247, allocations: 0 / 0.6299 GB, free: 8.309 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004514/0.02292, allocations: 83.88 kB / 0.63 GB, free: 8.227 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.0002829/0.0232, allocations: 143.1 kB / 0.6301 GB, free: 8.074 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004997/0.0237, allocations: 247.6 kB / 0.6304 GB, free: 7.832 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02371, allocations: 0.8125 kB / 0.6304 GB, free: 7.832 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.02391, allocations: 127.9 kB / 0.6305 GB, free: 7.707 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.02422, allocations: 28.78 kB / 0.6305 GB, free: 7.684 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.0253, allocations: 0.575 MB / 0.6311 GB, free: 7.078 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.02549, allocations: 153.2 kB / 0.6312 GB, free: 6.906 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001402/0.02563, allocations: 53.92 kB / 0.6313 GB, free: 6.852 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.123e-05/0.02571, allocations: 28.5 kB / 0.6313 GB, free: 6.824 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.02571, allocations: 0 / 0.6313 GB, free: 6.824 MB / 0.545 GB Notification: Performance of Templates: time 0.01117/0.03688, allocations: 5.405 MB / 0.6366 GB, free: 1.559 MB / 0.545 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.838539786636829] Failed to read output from testmodel.py, exit status != 0: 0.04613049700856209 0.06076267900000001 0.047718944000000006 Calling exit ...