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.0006666/0.0006666, allocations: 96.36 kB / 19.7 MB, free: 452 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.0006786/0.0006786, allocations: 207.2 kB / 22.99 MB, free: 2.984 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 0.8276/0.8276, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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-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 0.712/0.712, allocations: 203.8 MB / 0.5049 GB, free: 10.47 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008419/0.0008419, allocations: 66.97 kB / 0.7194 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3877, allocations: 102 MB / 0.819 GB, free: 1.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001201/0.3889, allocations: 0.6405 MB / 0.8196 GB, free: 0.9414 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008116/0.3897, allocations: 1.183 MB / 0.8208 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.387e-05/0.3898, allocations: 0 / 0.8208 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.3898, allocations: 7.938 kB / 0.8208 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.436e-05/0.3898, allocations: 17.16 kB / 0.8208 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000353/0.3902, allocations: 138.8 kB / 0.821 GB, free: 0 / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.3904, allocations: 145.3 kB / 0.8211 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.479e-05/0.3904, allocations: 9.266 kB / 0.8211 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.762e-05/0.3905, allocations: 58.17 kB / 0.8212 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.3906, allocations: 41.62 kB / 0.8212 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.3906, allocations: 14 kB / 0.8212 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.783e-05/0.3907, allocations: 35.58 kB / 0.8212 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.3907, allocations: 18.64 kB / 0.8213 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.751e-05/0.3908, allocations: 48.8 kB / 0.8213 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.3909, allocations: 141.7 kB / 0.8214 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3909, allocations: 0 / 0.8214 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3909, allocations: 0 / 0.8214 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3909, allocations: 1.656 kB / 0.8215 GB, free: 15.8 MB / 0.6198 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.0004362/0.3914, allocations: 340.9 kB / 0.8218 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.3914, allocations: 13.5 kB / 0.8218 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.3914, allocations: 12.58 kB / 0.8218 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.3917, allocations: 153.2 kB / 0.8219 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.3917, allocations: 11.08 kB / 0.822 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.3917, allocations: 10.53 kB / 0.822 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.3919, allocations: 91.95 kB / 0.8221 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.3919, allocations: 3.938 kB / 0.8221 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3919, allocations: 0 / 0.8221 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3919, allocations: 2.312 kB / 0.8221 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.36e-05/0.3919, allocations: 43.92 kB / 0.8221 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.3923, allocations: 277.2 kB / 0.8224 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.3924, allocations: 87.31 kB / 0.8225 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.923e-05/0.3924, allocations: 30.05 kB / 0.8225 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.3925, allocations: 0 / 0.8225 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.3926, allocations: 131.9 kB / 0.8226 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 9.81e-07/0.3926, allocations: 0 / 0.8226 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0002737/0.3929, allocations: 204.2 kB / 0.8228 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.3929, allocations: 59.52 kB / 0.8229 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.255e-05/0.393, allocations: 116.2 kB / 0.823 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.393, allocations: 34.59 kB / 0.823 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.393, allocations: 88.02 kB / 0.8231 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.3931, allocations: 40.64 kB / 0.8231 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.3931, allocations: 50.2 kB / 0.8232 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.797e-05/0.3932, allocations: 319.6 kB / 0.8235 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.3933, allocations: 77.92 kB / 0.8235 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.295e-05/0.3934, allocations: 116 kB / 0.8237 GB, free: 14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.3935, allocations: 142.9 kB / 0.8238 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3935, allocations: 3.938 kB / 0.8238 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002252/0.3937, allocations: 239.1 kB / 0.824 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.3938, allocations: 38.55 kB / 0.8241 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3938, allocations: 6.125 kB / 0.8241 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3938, allocations: 1.875 kB / 0.8241 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.673e-05/0.3938, allocations: 14.05 kB / 0.8241 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3938, allocations: 6.094 kB / 0.8241 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.3939, allocations: 32.55 kB / 0.8241 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.394, allocations: 12.42 kB / 0.8241 GB, free: 13.68 MB / 0.6198 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 7.041e-05/0.394, allocations: 136.7 kB / 0.8243 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.394, allocations: 10.2 kB / 0.8243 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.3941, allocations: 10.38 kB / 0.8243 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3941, allocations: 2.125 kB / 0.8243 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3941, allocations: 4.562 kB / 0.8243 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3941, allocations: 1.672 kB / 0.8243 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.3943, allocations: 365.3 kB / 0.8246 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3943, allocations: 1.156 kB / 0.8246 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.692e-05/0.3943, allocations: 12.86 kB / 0.8247 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3943, allocations: 1.188 kB / 0.8247 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3944, allocations: 3.234 kB / 0.8247 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3944, allocations: 1.75 kB / 0.8247 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3944, allocations: 0 / 0.8247 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.3945, allocations: 268.1 kB / 0.8249 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.647e-06/0.3945, allocations: 14.23 kB / 0.8249 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.3946, allocations: 3.578 kB / 0.8249 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.666e-05/0.3946, allocations: 14.81 kB / 0.8249 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.3946, allocations: 12.42 kB / 0.825 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.3947, allocations: 10.84 kB / 0.825 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.978e-05/0.3947, allocations: 91.88 kB / 0.8251 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.3947, allocations: 0 / 0.8251 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001739/0.3949, allocations: 33.33 kB / 0.8251 GB, free: 12.96 MB / 0.6198 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 9.44e-05/0.3949, allocations: 114.8 kB / 0.8252 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.3952, allocations: 211 kB / 0.8254 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.3952, allocations: 5.094 kB / 0.8254 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.407e-05/0.3952, allocations: 51.94 kB / 0.8255 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.3954, allocations: 15.97 kB / 0.8255 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.3957, allocations: 215.4 kB / 0.8257 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.414e-05/0.3957, allocations: 74.42 kB / 0.8257 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.3958, allocations: 17.48 kB / 0.8258 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.3958, allocations: 0 / 0.8258 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of Templates: time 0.002287/0.3981, allocations: 1.472 MB / 0.8272 GB, free: 12.3 MB / 0.6198 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.183590288739651] Failed to read output from testmodel.py, exit status != 0: 0.4029039656743407 0.412627428 0.019862151 Calling exit ...