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.0009297/0.0009297, allocations: 93.06 kB / 19.65 MB, free: 272 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.0009532/0.0009532, allocations: 169 kB / 23.03 MB, free: 1.539 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.072/1.072, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.8087/0.8087, allocations: 154.9 MB / 414.8 MB, free: 392 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.206e-06/3.206e-06, allocations: 0 / 0.5207 GB, free: 1.777 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.226e-05/3.547e-05, allocations: 4.844 kB / 0.5207 GB, free: 1.773 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001909/0.001944, allocations: 0.6509 MB / 0.5213 GB, free: 1.145 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.003631, allocations: 1.215 MB / 0.5225 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.154e-05/0.003693, allocations: 0 / 0.5225 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.861e-05/0.003731, allocations: 3.938 kB / 0.5225 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.623e-05/0.003828, allocations: 11.86 kB / 0.5225 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.00439, allocations: 140.9 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.004611, allocations: 145.2 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.708e-05/0.004708, allocations: 8 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.004861, allocations: 83.86 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.004999, allocations: 46.42 kB / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.00503, allocations: 12 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.146e-05/0.005102, allocations: 19.98 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.005135, allocations: 23.91 kB / 0.523 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.876e-05/0.005204, allocations: 35.97 kB / 0.523 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.005396, allocations: 107.6 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.005399, allocations: 0 / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.0054, allocations: 0.5625 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.005405, allocations: 0.5625 kB / 0.5231 GB, free: 15.3 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.0008932/0.006298, allocations: 443.1 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.006342, allocations: 8.031 kB / 0.5236 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.497e-05/0.006417, allocations: 18.42 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.006614, allocations: 144.5 kB / 0.5237 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.006642, allocations: 4.375 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.006671, allocations: 12.36 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.006853, allocations: 95.77 kB / 0.5238 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.006863, allocations: 192 / 0.5238 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.006879, allocations: 8.359 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.006888, allocations: 1.781 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.77e-05/0.006966, allocations: 35.91 kB / 0.5239 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.007471, allocations: 328.8 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.007635, allocations: 75.03 kB / 0.5243 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/0.007694, allocations: 36.34 kB / 0.5243 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.007702, allocations: 3.938 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.007873, allocations: 126.1 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.007875, allocations: 1.156 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0002771/0.008152, allocations: 188.4 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.008189, allocations: 63.92 kB / 0.5247 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.163e-05/0.008271, allocations: 173.9 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.008291, allocations: 35.7 kB / 0.5249 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.008342, allocations: 139 kB / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.008367, allocations: 31.73 kB / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/0.008423, allocations: 51.36 kB / 0.5251 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.00853, allocations: 0.4884 MB / 0.5255 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.05e-05/0.00861, allocations: 75.11 kB / 0.5256 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.064e-05/0.008701, allocations: 120 kB / 0.5257 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.008822, allocations: 137.6 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.008825, allocations: 0 / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000231/0.009056, allocations: 236.5 kB / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.009087, allocations: 41.62 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.009094, allocations: 4 kB / 0.5261 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.009108, allocations: 5.125 kB / 0.5261 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.183e-05/0.00917, allocations: 16 kB / 0.5262 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.009176, allocations: 0 / 0.5262 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.009282, allocations: 29.05 kB / 0.5262 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.009297, allocations: 14.31 kB / 0.5262 GB, free: 11.89 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 8.34e-05/0.009381, allocations: 172.5 kB / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.009401, allocations: 27.88 kB / 0.5264 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.009432, allocations: 8.438 kB / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.009433, allocations: 0 / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.009437, allocations: 2.438 kB / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.009441, allocations: 7.938 kB / 0.5264 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.009717, allocations: 409.3 kB / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.00972, allocations: 3.938 kB / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.00974, allocations: 7.984 kB / 0.5268 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.009743, allocations: 0 / 0.5268 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.009752, allocations: 5.938 kB / 0.5268 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.009753, allocations: 0 / 0.5268 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.009754, allocations: 0 / 0.5268 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.009944, allocations: 319.8 kB / 0.5271 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.009953, allocations: 11.89 kB / 0.5271 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.009971, allocations: 3.984 kB / 0.5271 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.764e-05/0.01002, allocations: 9.031 kB / 0.5271 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.01006, allocations: 11.97 kB / 0.5272 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.01007, allocations: 16.92 kB / 0.5272 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.563e-05/0.01011, allocations: 123.2 kB / 0.5273 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01011, allocations: 3.25 kB / 0.5273 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000187/0.0103, allocations: 35.98 kB / 0.5273 GB, free: 10.68 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.0001305/0.01043, allocations: 107.8 kB / 0.5274 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.01065, allocations: 204.7 kB / 0.5276 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01066, allocations: 0 / 0.5276 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.458e-05/0.01072, allocations: 64.58 kB / 0.5277 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.01092, allocations: 20.27 kB / 0.5277 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.01128, allocations: 190.5 kB / 0.5279 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.299e-05/0.01132, allocations: 59.34 kB / 0.5279 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.552e-05/0.01136, allocations: 10.06 kB / 0.528 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.0114, allocations: 20.48 kB / 0.528 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of SimCode: time 1.242e-06/0.0114, allocations: 3.938 kB / 0.528 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of Templates: time 0.004281/0.01568, allocations: 1.885 MB / 0.5298 GB, free: 8.172 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.939284227322787]