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.002292/0.002292, allocations: 93.47 kB / 19.44 MB, free: 340 kB / 13.93 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.003047/0.003047, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.558/1.558, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.341/1.341, allocations: 154.8 MB / 414.4 MB, free: 480 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 178] 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 1.813e-06/1.813e-06, allocations: 0.6562 kB / 0.5199 GB, free: 2.297 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.91e-05, allocations: 6.25 kB / 0.5199 GB, free: 2.289 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001791/0.00182, allocations: 0.6584 MB / 0.5205 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.003702, allocations: 1.188 MB / 0.5217 GB, free: 472 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.339e-05/0.003746, allocations: 0 / 0.5217 GB, free: 472 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.00377, allocations: 3.938 kB / 0.5217 GB, free: 468 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.894e-05/0.003839, allocations: 5.75 kB / 0.5217 GB, free: 464 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004721/0.004311, allocations: 143.5 kB / 0.5218 GB, free: 320 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.00453, allocations: 143.7 kB / 0.522 GB, free: 176 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.248e-05/0.004602, allocations: 9.734 kB / 0.522 GB, free: 168 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.004745, allocations: 83.88 kB / 0.522 GB, free: 84 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.004857, allocations: 43.91 kB / 0.5221 GB, free: 40 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.004894, allocations: 16 kB / 0.5221 GB, free: 24 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.221e-05/0.004986, allocations: 27.97 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.205e-05/0.005018, allocations: 20.62 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.095e-05/0.005109, allocations: 43.95 kB / 0.5222 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.00535, allocations: 149 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.005353, allocations: 0 / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.72e-07/0.005354, allocations: 0 / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.207e-06/0.005358, allocations: 1.344 kB / 0.5223 GB, free: 15.79 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.0006948/0.006053, allocations: 457.7 kB / 0.5228 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.006085, allocations: 8.031 kB / 0.5228 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.158e-05/0.006157, allocations: 18.64 kB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.006534, allocations: 148.8 kB / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.00656, allocations: 8.375 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.006592, allocations: 14.55 kB / 0.523 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.00677, allocations: 86.14 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.006779, allocations: 4.188 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.006793, allocations: 4.359 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.006802, allocations: 8.062 kB / 0.5231 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.006905, allocations: 39.97 kB / 0.5231 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000639/0.007544, allocations: 340.7 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.007776, allocations: 112 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.004e-05/0.007856, allocations: 43.66 kB / 0.5236 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.007872, allocations: 4.562 kB / 0.5236 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/0.008145, allocations: 134.2 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.008146, allocations: 0 / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0004592/0.008605, allocations: 214.5 kB / 0.5239 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.00866, allocations: 59.39 kB / 0.524 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/0.009056, allocations: 177.9 kB / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.009094, allocations: 35.23 kB / 0.5242 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.295e-05/0.009187, allocations: 134.9 kB / 0.5243 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.009231, allocations: 35.94 kB / 0.5243 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.009332, allocations: 55.36 kB / 0.5244 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002641/0.009596, allocations: 0.4972 MB / 0.5249 GB, free: 13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.009741, allocations: 81.67 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.009945, allocations: 143.1 kB / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.01017, allocations: 160.2 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01017, allocations: 0.625 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004391/0.01061, allocations: 265.8 kB / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.01066, allocations: 40.94 kB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.01066, allocations: 0 / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.01068, allocations: 4 kB / 0.5255 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.913e-05/0.01076, allocations: 11.94 kB / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.01077, allocations: 7.984 kB / 0.5255 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.01097, allocations: 31.88 kB / 0.5256 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.01099, allocations: 11.94 kB / 0.5256 GB, free: 12.18 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.0001801/0.01117, allocations: 179.5 kB / 0.5258 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.0112, allocations: 19.88 kB / 0.5258 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.654e-05/0.01124, allocations: 12.44 kB / 0.5258 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.01124, allocations: 0 / 0.5258 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.01124, allocations: 0 / 0.5258 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.01125, allocations: 0 / 0.5258 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005102/0.01176, allocations: 441.3 kB / 0.5262 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01176, allocations: 1.5 kB / 0.5262 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.854e-05/0.01181, allocations: 7.984 kB / 0.5262 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.01181, allocations: 0 / 0.5262 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.01182, allocations: 4 kB / 0.5262 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.01183, allocations: 4.5 kB / 0.5262 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01183, allocations: 0 / 0.5262 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.01221, allocations: 334.5 kB / 0.5265 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.471e-05/0.01223, allocations: 7.891 kB / 0.5266 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.01226, allocations: 11.98 kB / 0.5266 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.01234, allocations: 4 kB / 0.5266 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/0.01241, allocations: 19.91 kB / 0.5266 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.01242, allocations: 11.98 kB / 0.5266 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.363e-05/0.01251, allocations: 133.9 kB / 0.5267 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01251, allocations: 0 / 0.5267 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002795/0.01279, allocations: 35.98 kB / 0.5268 GB, free: 10.91 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.0001849/0.01297, allocations: 107.8 kB / 0.5269 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004044/0.01338, allocations: 240.6 kB / 0.5271 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01338, allocations: 0 / 0.5271 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.01352, allocations: 75.59 kB / 0.5272 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.01382, allocations: 22.33 kB / 0.5272 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.01426, allocations: 202.5 kB / 0.5274 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.164e-05/0.01434, allocations: 72.36 kB / 0.5275 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.55e-05/0.01438, allocations: 11.19 kB / 0.5275 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.01442, allocations: 12.5 kB / 0.5275 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of SimCode: time 4.31e-07/0.01442, allocations: 3.938 kB / 0.5275 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.00549/0.01991, allocations: 1.776 MB / 0.5292 GB, free: 8.449 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: 6.113139989902265]