Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.0009778/0.0009778, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009963/0.0009963, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.024/1.024, allocations: 177.1 MB / 203.8 MB, free: 5.484 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-535:34: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-535:42: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.7667/0.7667, allocations: 154.9 MB / 415.1 MB, free: 256 kB / 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: translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.928e-06/3.928e-06, allocations: 0 / 480.4 MB, free: 6.512 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.268e-05, allocations: 2.859 kB / 480.4 MB, free: 6.508 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001432/0.001465, allocations: 0.648 MB / 481 MB, free: 5.895 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.002629, allocations: 1.23 MB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.002669, allocations: 0 / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.002696, allocations: 4.438 kB / 482.3 MB, free: 4.656 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.215e-05/0.002769, allocations: 9.031 kB / 482.3 MB, free: 4.652 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.003133, allocations: 147.1 kB / 482.4 MB, free: 4.512 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.003296, allocations: 144.9 kB / 482.6 MB, free: 4.383 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.772e-05/0.003364, allocations: 4 kB / 482.6 MB, free: 4.379 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.003469, allocations: 86.66 kB / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.674e-05/0.003566, allocations: 37.56 kB / 482.7 MB, free: 4.262 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.003587, allocations: 12.91 kB / 482.7 MB, free: 4.25 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.37e-05/0.00364, allocations: 23.98 kB / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.003667, allocations: 20.58 kB / 482.7 MB, free: 4.207 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.003711, allocations: 41.52 kB / 482.8 MB, free: 4.168 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.003843, allocations: 111.6 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.003845, allocations: 0 / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.003846, allocations: 0 / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.00385, allocations: 0.875 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003844/0.004234, allocations: 318.9 kB / 483.2 MB, free: 3.719 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.004265, allocations: 8.031 kB / 483.2 MB, free: 3.711 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.004303, allocations: 16.92 kB / 483.2 MB, free: 3.695 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.004431, allocations: 121.7 kB / 483.3 MB, free: 3.551 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.004447, allocations: 16.89 kB / 483.4 MB, free: 3.535 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.004465, allocations: 9.938 kB / 483.4 MB, free: 3.527 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.689e-05/0.004562, allocations: 90.77 kB / 483.5 MB, free: 3.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.004569, allocations: 192 / 483.5 MB, free: 3.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.004579, allocations: 8.359 kB / 483.5 MB, free: 3.422 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.004583, allocations: 0.9688 kB / 483.5 MB, free: 3.422 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.323e-05/0.004616, allocations: 23.92 kB / 483.5 MB, free: 3.398 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/0.004887, allocations: 197.5 kB / 483.7 MB, free: 3.191 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.176e-05/0.004979, allocations: 63.06 kB / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.322e-05/0.005002, allocations: 21.92 kB / 483.8 MB, free: 3.098 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.811e-06/0.005008, allocations: 3.938 kB / 483.8 MB, free: 3.094 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.005143, allocations: 120.5 kB / 483.9 MB, free: 2.965 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.041e-06/0.005144, allocations: 1.125 kB / 483.9 MB, free: 2.965 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001588/0.005303, allocations: 132.5 kB / 484 MB, free: 2.832 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.005331, allocations: 51.41 kB / 484.1 MB, free: 2.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.595e-05/0.005387, allocations: 116.1 kB / 484.2 MB, free: 2.645 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.00541, allocations: 33.7 kB / 484.2 MB, free: 2.605 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.575e-05/0.005445, allocations: 96.06 kB / 484.3 MB, free: 2.508 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.005467, allocations: 27.78 kB / 484.3 MB, free: 2.48 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.005517, allocations: 50.52 kB / 484.4 MB, free: 2.426 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.303e-05/0.00559, allocations: 322.8 kB / 484.7 MB, free: 2.102 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.245e-05/0.005643, allocations: 63.12 kB / 484.8 MB, free: 2.035 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.266e-05/0.005705, allocations: 93.89 kB / 484.8 MB, free: 1.922 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.143e-05/0.005797, allocations: 114.7 kB / 485 MB, free: 1.789 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005799, allocations: 1.094 kB / 485 MB, free: 1.789 MB / 442.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001433/0.005942, allocations: 189.5 kB / 485.1 MB, free: 1.586 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.005968, allocations: 38.47 kB / 485.2 MB, free: 1.543 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.005972, allocations: 4 kB / 485.2 MB, free: 1.539 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.005988, allocations: 4.812 kB / 485.2 MB, free: 1.535 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.61e-05/0.006035, allocations: 12 kB / 485.2 MB, free: 1.523 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.006038, allocations: 0 / 485.2 MB, free: 1.523 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.456e-05/0.006132, allocations: 36.98 kB / 485.2 MB, free: 1.488 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.006144, allocations: 4.625 kB / 485.2 MB, free: 1.484 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 6.726e-05/0.006211, allocations: 130.4 kB / 485.4 MB, free: 1.348 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.006225, allocations: 15.38 kB / 485.4 MB, free: 1.336 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.006249, allocations: 13.06 kB / 485.4 MB, free: 1.324 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.006252, allocations: 3.938 kB / 485.4 MB, free: 1.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.006253, allocations: 0.625 kB / 485.4 MB, free: 1.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.006256, allocations: 0 / 485.4 MB, free: 1.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.006424, allocations: 259.3 kB / 485.7 MB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.006424, allocations: 4.656 kB / 485.7 MB, free: 1.039 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.454e-05/0.006439, allocations: 4 kB / 485.7 MB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.00644, allocations: 0.5312 kB / 485.7 MB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.006448, allocations: 8.453 kB / 485.7 MB, free: 1.027 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.006449, allocations: 0 / 485.7 MB, free: 1.027 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.00645, allocations: 5.719 kB / 485.7 MB, free: 1.023 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.006551, allocations: 198.4 kB / 485.9 MB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-06/0.006559, allocations: 11.94 kB / 485.9 MB, free: 0.8047 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.006574, allocations: 7.922 kB / 485.9 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.14e-05/0.006616, allocations: 8.906 kB / 485.9 MB, free: 0.7891 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/0.006646, allocations: 11.97 kB / 485.9 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.006654, allocations: 12.73 kB / 485.9 MB, free: 0.7656 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.402e-05/0.006668, allocations: 12.84 kB / 485.9 MB, free: 0.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006668, allocations: 4.625 kB / 485.9 MB, free: 0.7461 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001442/0.006813, allocations: 34.2 kB / 486 MB, free: 0.7148 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00011/0.006923, allocations: 84.42 kB / 486.1 MB, free: 0.625 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.007087, allocations: 177.8 kB / 486.2 MB, free: 440 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.007089, allocations: 1.688 kB / 486.2 MB, free: 440 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.527e-05/0.007135, allocations: 48.77 kB / 486.3 MB, free: 388 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.007268, allocations: 23.05 kB / 486.3 MB, free: 368 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.007512, allocations: 180.8 kB / 486.5 MB, free: 164 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.838e-05/0.00755, allocations: 63.34 kB / 486.5 MB, free: 80 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.995e-05/0.00758, allocations: 14.7 kB / 486.6 MB, free: 68 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.3e-05/0.007653, allocations: 67.36 kB / 486.6 MB, free: 0 / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/0.007654, allocations: 112 / 486.6 MB, free: 16 MB / 458.7 MB Notification: Performance of Templates: time 0.00334/0.01099, allocations: 1.842 MB / 488.5 MB, free: 14.29 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.646436216775328]