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.00128/0.00128, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001388/0.001388, allocations: 169 kB / 24.05 MB, free: 460 kB / 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.038/1.038, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.7996/0.7996, allocations: 154.9 MB / 415.9 MB, free: 264 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 2.495e-06/2.495e-06, allocations: 0 / 0.5219 GB, free: 1.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.729e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.0015/0.001527, allocations: 0.6497 MB / 0.5225 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.002775, allocations: 1.208 MB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.811e-05/0.002843, allocations: 0.9688 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.002877, allocations: 3.938 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.712e-05/0.002964, allocations: 21.38 kB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.003422, allocations: 137.6 kB / 0.5239 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.003734, allocations: 143.7 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.287e-05/0.003817, allocations: 11.98 kB / 0.524 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.003925, allocations: 84.48 kB / 0.5241 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.004029, allocations: 40.45 kB / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.004052, allocations: 12 kB / 0.5242 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.18e-05/0.004114, allocations: 28.42 kB / 0.5242 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.637e-05/0.00414, allocations: 19.97 kB / 0.5242 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.004186, allocations: 36.64 kB / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.004328, allocations: 104.8 kB / 0.5243 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.00433, allocations: 0 / 0.5243 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004331, allocations: 0 / 0.5243 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.004336, allocations: 0 / 0.5243 GB, free: 15.06 MB / 0.4948 GB 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.0004506/0.004786, allocations: 444.6 kB / 0.5248 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.00482, allocations: 12.03 kB / 0.5248 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.004868, allocations: 20.88 kB / 0.5248 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.005011, allocations: 140.5 kB / 0.5249 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.005029, allocations: 4.375 kB / 0.5249 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.00505, allocations: 22.08 kB / 0.525 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.005159, allocations: 82.89 kB / 0.525 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.005167, allocations: 4.125 kB / 0.525 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.005176, allocations: 384 / 0.525 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.005185, allocations: 8.359 kB / 0.525 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.765e-05/0.005223, allocations: 29.28 kB / 0.5251 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.00559, allocations: 312.3 kB / 0.5254 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.005699, allocations: 71.77 kB / 0.5254 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.615e-05/0.005726, allocations: 25.14 kB / 0.5255 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.005732, allocations: 0 / 0.5255 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.005882, allocations: 126.4 kB / 0.5256 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.005883, allocations: 0 / 0.5256 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.000241/0.006124, allocations: 167.8 kB / 0.5257 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.006159, allocations: 62.77 kB / 0.5258 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.115e-05/0.00624, allocations: 181.8 kB / 0.526 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.006262, allocations: 33.7 kB / 0.526 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.006311, allocations: 130.9 kB / 0.5261 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.006338, allocations: 35.72 kB / 0.5262 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/0.006398, allocations: 55.33 kB / 0.5262 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.00652, allocations: 0.4884 MB / 0.5267 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.763e-05/0.006588, allocations: 61.67 kB / 0.5268 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.006e-05/0.006668, allocations: 118 kB / 0.5269 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.927e-05/0.006767, allocations: 126.6 kB / 0.527 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.00677, allocations: 0 / 0.527 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000211/0.006981, allocations: 230 kB / 0.5272 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.00701, allocations: 37.69 kB / 0.5272 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.007016, allocations: 3.938 kB / 0.5272 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.007026, allocations: 4 kB / 0.5273 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.386e-05/0.00708, allocations: 11.94 kB / 0.5273 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.007084, allocations: 7.938 kB / 0.5273 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.007188, allocations: 34.67 kB / 0.5273 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.007201, allocations: 4 kB / 0.5273 GB, free: 11.75 MB / 0.4948 GB 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 0.0003632/0.007564, allocations: 172.6 kB / 0.5275 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.007585, allocations: 15.95 kB / 0.5275 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.007617, allocations: 16.36 kB / 0.5275 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.00762, allocations: 5.062 kB / 0.5275 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.007623, allocations: 0 / 0.5275 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.007627, allocations: 0 / 0.5275 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.007899, allocations: 386.8 kB / 0.5279 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.0079, allocations: 0 / 0.5279 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.163e-05/0.007922, allocations: 4.938 kB / 0.5279 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.007924, allocations: 0 / 0.5279 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.007935, allocations: 11.92 kB / 0.5279 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.007936, allocations: 0.6562 kB / 0.5279 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.007938, allocations: 0.6562 kB / 0.5279 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.008123, allocations: 303.8 kB / 0.5282 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.02e-05/0.008133, allocations: 8.609 kB / 0.5282 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.008152, allocations: 7.938 kB / 0.5282 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.298e-05/0.008205, allocations: 13.27 kB / 0.5282 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.008243, allocations: 11.97 kB / 0.5282 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.008252, allocations: 8 kB / 0.5282 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.615e-05/0.008298, allocations: 137.9 kB / 0.5284 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.008298, allocations: 0 / 0.5284 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001999/0.008498, allocations: 32 kB / 0.5284 GB, free: 10.59 MB / 0.4948 GB 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.0001331/0.008631, allocations: 111.7 kB / 0.5285 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001983/0.008829, allocations: 193.9 kB / 0.5287 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.008832, allocations: 0 / 0.5287 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.028e-05/0.008882, allocations: 47.64 kB / 0.5287 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.00908, allocations: 19.92 kB / 0.5287 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.009353, allocations: 190.3 kB / 0.5289 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.97e-05/0.009393, allocations: 63.14 kB / 0.529 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.225e-05/0.009425, allocations: 16.42 kB / 0.529 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.531e-05/0.00951, allocations: 98.17 kB / 0.5291 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/0.009511, allocations: 0 / 0.5291 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of Templates: time 0.003691/0.0132, allocations: 1.933 MB / 0.531 GB, free: 7.969 MB / 0.4948 GB " [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.852376179769635]