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.000844/0.000844, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001173/0.002017, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007803/0.0007803, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009998/0.00178, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.02/1.02, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09302/1.113, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8166/0.8166, allocations: 155.3 MB / 399.2 MB, free: 15.91 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2943/1.111, allocations: 49.14 MB / 448.4 MB, free: 6.012 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.513e-06/1.513e-06, allocations: 0 / 449.7 MB, free: 4.73 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.631e-05, allocations: 5.156 kB / 449.7 MB, free: 4.727 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001969/0.001995, allocations: 0.6975 MB / 450.4 MB, free: 4.062 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.003464, allocations: 1.218 MB / 451.6 MB, free: 2.836 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.003499, allocations: 0 / 451.6 MB, free: 2.836 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.00352, allocations: 7.938 kB / 451.6 MB, free: 2.828 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.932e-05/0.003559, allocations: 3.5 kB / 451.6 MB, free: 2.828 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.003899, allocations: 144.8 kB / 451.8 MB, free: 2.688 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.004109, allocations: 137.7 kB / 451.9 MB, free: 2.566 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.384e-05/0.004173, allocations: 8.531 kB / 451.9 MB, free: 2.559 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.004309, allocations: 99.11 kB / 452 MB, free: 2.469 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.004413, allocations: 33.69 kB / 452 MB, free: 2.438 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.00444, allocations: 13.41 kB / 452 MB, free: 2.426 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.498e-05/0.004515, allocations: 28.64 kB / 452.1 MB, free: 2.398 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.00454, allocations: 13.47 kB / 452.1 MB, free: 2.387 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.004597, allocations: 31.98 kB / 452.1 MB, free: 2.355 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.00475, allocations: 76.39 kB / 452.2 MB, free: 2.281 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.378e-05/0.004764, allocations: 0.625 kB / 452.2 MB, free: 2.281 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004764, allocations: 0 / 452.2 MB, free: 2.281 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.004781, allocations: 5.844 kB / 452.2 MB, free: 2.277 MB / 426.7 MB 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.0005323/0.005313, allocations: 336.1 kB / 452.5 MB, free: 1.918 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.005346, allocations: 12.03 kB / 452.5 MB, free: 1.906 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.005392, allocations: 12.92 kB / 452.5 MB, free: 1.895 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.005541, allocations: 122.7 kB / 452.7 MB, free: 1.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.005561, allocations: 8.359 kB / 452.7 MB, free: 1.742 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.005588, allocations: 20.05 kB / 452.7 MB, free: 1.727 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.005707, allocations: 86.77 kB / 452.8 MB, free: 1.633 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.005714, allocations: 192 / 452.8 MB, free: 1.633 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.005727, allocations: 9.234 kB / 452.8 MB, free: 1.625 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.005734, allocations: 4.375 kB / 452.8 MB, free: 1.621 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.213e-05/0.005786, allocations: 20.42 kB / 452.8 MB, free: 1.602 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.006151, allocations: 205.9 kB / 453 MB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.00627, allocations: 66.58 kB / 453.1 MB, free: 1.312 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.507e-05/0.006305, allocations: 20.84 kB / 453.1 MB, free: 1.289 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.006312, allocations: 4.688 kB / 453.1 MB, free: 1.285 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.006484, allocations: 113.4 kB / 453.2 MB, free: 1.164 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.006485, allocations: 0 / 453.2 MB, free: 1.164 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002/0.006685, allocations: 124.4 kB / 453.3 MB, free: 1.039 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.006729, allocations: 68.66 kB / 453.4 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.072e-05/0.0068, allocations: 110.7 kB / 453.5 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.006828, allocations: 37.69 kB / 453.6 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.00688, allocations: 89.91 kB / 453.6 MB, free: 0.707 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.006911, allocations: 32.28 kB / 453.7 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.409e-05/0.006985, allocations: 48.78 kB / 453.7 MB, free: 0.625 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.172e-05/0.007077, allocations: 318.8 kB / 454 MB, free: 312 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.302e-05/0.00715, allocations: 57.69 kB / 454.1 MB, free: 248 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.793e-05/0.007238, allocations: 97.95 kB / 454.2 MB, free: 128 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.007376, allocations: 119.6 kB / 454.3 MB, free: 15.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.007379, allocations: 0.9062 kB / 454.3 MB, free: 15.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002221/0.007601, allocations: 188 kB / 454.5 MB, free: 15.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.007638, allocations: 39.14 kB / 454.5 MB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.007642, allocations: 0 / 454.5 MB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.007654, allocations: 7.938 kB / 454.5 MB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.704e-05/0.007721, allocations: 19.92 kB / 454.5 MB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.007728, allocations: 5.094 kB / 454.6 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.00787, allocations: 33.31 kB / 454.6 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.007889, allocations: 11.98 kB / 454.6 MB, free: 15.67 MB / 442.7 MB 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.168e-05/0.007971, allocations: 122.6 kB / 454.7 MB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.007994, allocations: 15.98 kB / 454.7 MB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.008026, allocations: 17.08 kB / 454.7 MB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.00803, allocations: 4.828 kB / 454.8 MB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.008032, allocations: 0.8438 kB / 454.8 MB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.008035, allocations: 0 / 454.8 MB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.008268, allocations: 243.4 kB / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.00827, allocations: 0 / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.174e-05/0.008302, allocations: 17.42 kB / 455 MB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.008313, allocations: 11.89 kB / 455 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.008317, allocations: 3.938 kB / 455 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.008325, allocations: 3.938 kB / 455 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.008327, allocations: 2.094 kB / 455 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008328, allocations: 4 kB / 455 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.008478, allocations: 195.5 kB / 455.2 MB, free: 15 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.008502, allocations: 13.16 kB / 455.2 MB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.561e-05/0.008578, allocations: 3.984 kB / 455.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.008613, allocations: 20.62 kB / 455.3 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.008621, allocations: 0 / 455.3 MB, free: 14.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.824e-05/0.008639, allocations: 25.67 kB / 455.3 MB, free: 14.94 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008639, allocations: 0 / 455.3 MB, free: 14.94 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000254/0.008893, allocations: 33.19 kB / 455.3 MB, free: 14.91 MB / 442.7 MB 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.0001173/0.009011, allocations: 88.41 kB / 455.4 MB, free: 14.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.009226, allocations: 185.5 kB / 455.6 MB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.009229, allocations: 0.6562 kB / 455.6 MB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.414e-05/0.009293, allocations: 49.41 kB / 455.6 MB, free: 14.56 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.009485, allocations: 29.06 kB / 455.7 MB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/0.01003, allocations: 191.2 kB / 455.9 MB, free: 14.33 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.081e-05/0.01007, allocations: 63.34 kB / 455.9 MB, free: 14.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.778e-05/0.01011, allocations: 6.531 kB / 455.9 MB, free: 14.24 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.01021, allocations: 75.34 kB / 456 MB, free: 14.17 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01021, allocations: 0.7188 kB / 456 MB, free: 14.17 MB / 442.7 MB Notification: Performance of Templates: time 0.004385/0.0146, allocations: 1.899 MB / 457.9 MB, free: 12.42 MB / 442.7 MB " [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.6229122327640653]