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.00139/0.00139, allocations: 80.59 kB / 19.18 MB, free: 2.527 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.001456/0.001456, allocations: 168.7 kB / 22.46 MB, free: 5.355 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.504/1.504, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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-531:190: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-531:198: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.217/1.217, allocations: 154.5 MB / 413.7 MB, free: 5.316 MB / 382.1 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 2.384e-06/2.384e-06, allocations: 0 / 0.6185 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.995e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001805/0.001835, allocations: 0.6463 MB / 0.6192 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001799/0.003634, allocations: 1.184 MB / 0.6203 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.213e-05/0.003686, allocations: 0 / 0.6203 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.045e-05/0.003717, allocations: 3.938 kB / 0.6203 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.837e-05/0.003785, allocations: 12.8 kB / 0.6203 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.004313, allocations: 150.2 kB / 0.6205 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.004541, allocations: 147.7 kB / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.195e-05/0.004623, allocations: 8 kB / 0.6206 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.004761, allocations: 75.92 kB / 0.6207 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.004878, allocations: 47.86 kB / 0.6207 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.004912, allocations: 12 kB / 0.6208 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.618e-05/0.004988, allocations: 31.91 kB / 0.6208 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.184e-05/0.00502, allocations: 15.98 kB / 0.6208 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.902e-05/0.005099, allocations: 47.89 kB / 0.6209 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.005337, allocations: 151.7 kB / 0.621 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.005339, allocations: 0 / 0.621 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.21e-07/0.00534, allocations: 0 / 0.621 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.005344, allocations: 3.938 kB / 0.621 GB, free: 2.129 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.0006059/0.00595, allocations: 347.8 kB / 0.6213 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.005986, allocations: 9.469 kB / 0.6213 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.68e-05/0.006043, allocations: 12.89 kB / 0.6214 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.006459, allocations: 153.8 kB / 0.6215 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.006485, allocations: 8.375 kB / 0.6215 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.006523, allocations: 24.34 kB / 0.6215 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.0067, allocations: 86.08 kB / 0.6216 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.006709, allocations: 192 / 0.6216 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.006725, allocations: 4.359 kB / 0.6216 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.006733, allocations: 8.125 kB / 0.6216 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.766e-05/0.006831, allocations: 39.97 kB / 0.6217 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/0.007381, allocations: 272.4 kB / 0.6219 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.007581, allocations: 78.53 kB / 0.622 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.106e-05/0.007652, allocations: 40.84 kB / 0.622 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.007665, allocations: 0 / 0.622 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002651/0.00793, allocations: 127.3 kB / 0.6222 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.007932, allocations: 0 / 0.6222 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0004145/0.008346, allocations: 200.8 kB / 0.6224 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.008398, allocations: 59.41 kB / 0.6224 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.008503, allocations: 121.9 kB / 0.6225 GB, free: 432 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.008541, allocations: 33.7 kB / 0.6226 GB, free: 392 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.00861, allocations: 92.12 kB / 0.6226 GB, free: 296 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.008642, allocations: 31.8 kB / 0.6227 GB, free: 264 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.471e-05/0.008726, allocations: 41.7 kB / 0.6227 GB, free: 216 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.008881, allocations: 322.8 kB / 0.623 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.009022, allocations: 81.67 kB / 0.6231 GB, free: 15.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.009177, allocations: 113.9 kB / 0.6232 GB, free: 15.67 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.009374, allocations: 137.9 kB / 0.6233 GB, free: 15.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.009376, allocations: 0 / 0.6233 GB, free: 15.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004112/0.009787, allocations: 244.8 kB / 0.6236 GB, free: 15.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.837e-05/0.009835, allocations: 41.62 kB / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.009841, allocations: 0 / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.009861, allocations: 4 kB / 0.6236 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-05/0.009937, allocations: 8 kB / 0.6236 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.009943, allocations: 0 / 0.6236 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.01017, allocations: 39.98 kB / 0.6237 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.0102, allocations: 15.98 kB / 0.6237 GB, free: 15.14 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.0001207/0.01032, allocations: 126.8 kB / 0.6238 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.01034, allocations: 19.88 kB / 0.6238 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/0.01038, allocations: 8.438 kB / 0.6238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01038, allocations: 0 / 0.6238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01038, allocations: 0 / 0.6238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.01039, allocations: 7.938 kB / 0.6238 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.01082, allocations: 374.1 kB / 0.6242 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01082, allocations: 0 / 0.6242 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.01085, allocations: 11.98 kB / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.01086, allocations: 4 kB / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.01087, allocations: 4 kB / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01087, allocations: 0 / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01087, allocations: 0 / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.01119, allocations: 278.1 kB / 0.6245 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.0112, allocations: 3.953 kB / 0.6245 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.01122, allocations: 4 kB / 0.6245 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.372e-05/0.01132, allocations: 11.98 kB / 0.6245 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.01137, allocations: 15.91 kB / 0.6245 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.01139, allocations: 12 kB / 0.6245 GB, free: 14.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.498e-05/0.01144, allocations: 91.27 kB / 0.6246 GB, free: 14.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01144, allocations: 0 / 0.6246 GB, free: 14.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002815/0.01172, allocations: 31.94 kB / 0.6246 GB, free: 14.09 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.0001715/0.01189, allocations: 107.2 kB / 0.6247 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003423/0.01224, allocations: 208.9 kB / 0.6249 GB, free: 13.76 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01224, allocations: 0 / 0.6249 GB, free: 13.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.01234, allocations: 55.89 kB / 0.625 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.01263, allocations: 24.86 kB / 0.625 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/0.01305, allocations: 197.2 kB / 0.6252 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.744e-05/0.01312, allocations: 67.34 kB / 0.6253 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.093e-05/0.01316, allocations: 12.48 kB / 0.6253 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.01319, allocations: 20.5 kB / 0.6253 GB, free: 13.35 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.01319, allocations: 0 / 0.6253 GB, free: 13.35 MB / 0.545 GB Notification: Performance of Templates: time 0.005104/0.0183, allocations: 1.745 MB / 0.627 GB, free: 11.66 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8275576420128345] Failed to read output from testmodel.py, exit status != 0: 0.02873198315501213 0.053663935 0.043469413000000005 Calling exit ...