Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00133/0.00133, allocations: 79.67 kB / 19.18 MB, free: 2.516 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.001458/0.001458, allocations: 163.4 kB / 22.46 MB, free: 5.375 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.465/1.465, allocations: 177.2 MB / 202.8 MB, free: 9.176 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.207/1.207, allocations: 154.6 MB / 413.8 MB, free: 5.234 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.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.6186 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.777e-05, allocations: 3.219 kB / 0.6186 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001744/0.001771, allocations: 0.6352 MB / 0.6192 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.003526, allocations: 1.186 MB / 0.6204 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.56e-05/0.003572, allocations: 4.562 kB / 0.6204 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.003603, allocations: 7.922 kB / 0.6204 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.138e-05/0.003674, allocations: 8.875 kB / 0.6204 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005011/0.004175, allocations: 146.3 kB / 0.6205 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.00439, allocations: 148.7 kB / 0.6207 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.004482, allocations: 11.97 kB / 0.6207 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.004624, allocations: 83.94 kB / 0.6208 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.004738, allocations: 47.84 kB / 0.6208 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.004777, allocations: 16 kB / 0.6208 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.049e-05/0.004847, allocations: 20 kB / 0.6209 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.004878, allocations: 15.98 kB / 0.6209 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.9e-05/0.004957, allocations: 43.89 kB / 0.6209 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.0052, allocations: 159.6 kB / 0.6211 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.005202, allocations: 0 / 0.6211 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.81e-07/0.005203, allocations: 3.938 kB / 0.6211 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.005207, allocations: 0 / 0.6211 GB, free: 2.008 MB / 0.5294 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.0006331/0.00584, allocations: 343.8 kB / 0.6214 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.005878, allocations: 12.03 kB / 0.6214 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.005935, allocations: 16.89 kB / 0.6214 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.006342, allocations: 153.8 kB / 0.6216 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.006369, allocations: 8.359 kB / 0.6216 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.006403, allocations: 12.38 kB / 0.6216 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.00658, allocations: 86.12 kB / 0.6217 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.006589, allocations: 4.188 kB / 0.6217 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.006602, allocations: 384 / 0.6217 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.006609, allocations: 8.125 kB / 0.6217 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.529e-05/0.006704, allocations: 43.91 kB / 0.6217 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005621/0.007266, allocations: 272.4 kB / 0.622 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.007455, allocations: 82.58 kB / 0.6221 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.512e-05/0.00752, allocations: 28.84 kB / 0.6221 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.007533, allocations: 0 / 0.6221 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.007791, allocations: 134.9 kB / 0.6222 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.007792, allocations: 0 / 0.6222 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0004069/0.008199, allocations: 209.5 kB / 0.6224 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.008249, allocations: 59.39 kB / 0.6225 GB, free: 436 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.986e-05/0.008349, allocations: 117.7 kB / 0.6226 GB, free: 308 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.008399, allocations: 33.7 kB / 0.6226 GB, free: 268 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/0.008462, allocations: 88.14 kB / 0.6227 GB, free: 176 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.008494, allocations: 27.8 kB / 0.6227 GB, free: 148 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.594e-05/0.00858, allocations: 49.69 kB / 0.6228 GB, free: 92 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.008746, allocations: 318.8 kB / 0.6231 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.008877, allocations: 73.67 kB / 0.6232 GB, free: 15.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.009049, allocations: 132 kB / 0.6233 GB, free: 15.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.009243, allocations: 133.9 kB / 0.6234 GB, free: 15.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.009245, allocations: 0 / 0.6234 GB, free: 15.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003964/0.009642, allocations: 244.8 kB / 0.6236 GB, free: 15.13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/0.009688, allocations: 37.69 kB / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.009693, allocations: 128 / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.009706, allocations: 4 kB / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.428e-05/0.009791, allocations: 11.94 kB / 0.6237 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.009798, allocations: 4 kB / 0.6237 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.01001, allocations: 43.84 kB / 0.6237 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.01003, allocations: 8 kB / 0.6237 GB, free: 15.02 MB / 0.545 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.000122/0.01015, allocations: 134.7 kB / 0.6239 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.01019, allocations: 11.89 kB / 0.6239 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.01022, allocations: 12.44 kB / 0.6239 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.01023, allocations: 4 kB / 0.6239 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.01023, allocations: 0 / 0.6239 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01023, allocations: 0 / 0.6239 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.01068, allocations: 380.5 kB / 0.6243 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01068, allocations: 0 / 0.6243 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.01071, allocations: 7.938 kB / 0.6243 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.01071, allocations: 0 / 0.6243 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.01073, allocations: 3.984 kB / 0.6243 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.01074, allocations: 8 kB / 0.6243 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01074, allocations: 4 kB / 0.6243 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.01106, allocations: 263.4 kB / 0.6245 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.336e-05/0.01107, allocations: 11.95 kB / 0.6245 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.0111, allocations: 7.922 kB / 0.6246 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/0.01119, allocations: 8 kB / 0.6246 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.01125, allocations: 11.97 kB / 0.6246 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.01127, allocations: 15.98 kB / 0.6246 GB, free: 14.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.098e-05/0.01132, allocations: 79.28 kB / 0.6247 GB, free: 14.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01132, allocations: 3.938 kB / 0.6247 GB, free: 14.01 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002843/0.0116, allocations: 39.92 kB / 0.6247 GB, free: 13.97 MB / 0.545 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.0001876/0.01179, allocations: 115.2 kB / 0.6248 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003429/0.01213, allocations: 201 kB / 0.625 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01213, allocations: 0 / 0.625 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.01224, allocations: 55.91 kB / 0.6251 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.01252, allocations: 21.64 kB / 0.6251 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.01295, allocations: 191.6 kB / 0.6253 GB, free: 13.35 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.674e-05/0.01303, allocations: 83.52 kB / 0.6253 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.39e-05/0.01307, allocations: 4.5 kB / 0.6253 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.01311, allocations: 20.48 kB / 0.6254 GB, free: 13.22 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.01311, allocations: 0 / 0.6254 GB, free: 13.22 MB / 0.545 GB Notification: Performance of Templates: time 0.00504/0.01815, allocations: 1.731 MB / 0.6271 GB, free: 11.55 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.716348193585873] Failed to read output from testmodel.py, exit status != 0: 0.02674345299601555 0.041677301 0.033499823000000005 Calling exit ...