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.0006133/0.0006133, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.0007418/0.0007418, allocations: 215.9 kB / 23.01 MB, free: 3.098 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.9023/0.9023, allocations: 230.6 MB / 256.8 MB, free: 9.805 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.7384/0.7384, allocations: 203.8 MB / 0.5049 GB, free: 10.73 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.0009405/0.0009405, allocations: 69.45 kB / 0.7195 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4374, allocations: 102 MB / 0.8191 GB, free: 1.543 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.00121/0.4387, allocations: 0.6538 MB / 0.8197 GB, free: 1.133 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008894/0.4395, allocations: 1.208 MB / 0.8209 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.154e-05/0.4396, allocations: 0.7812 kB / 0.8209 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/0.4396, allocations: 4.547 kB / 0.8209 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.35e-05/0.4397, allocations: 20.64 kB / 0.8209 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.4401, allocations: 141.1 kB / 0.8211 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.4402, allocations: 138 kB / 0.8212 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.632e-05/0.4403, allocations: 13.39 kB / 0.8212 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.888e-05/0.4404, allocations: 53.23 kB / 0.8213 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.7e-05/0.4405, allocations: 62.25 kB / 0.8213 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.4405, allocations: 11.84 kB / 0.8213 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.698e-05/0.4405, allocations: 28.33 kB / 0.8214 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.4406, allocations: 23.64 kB / 0.8214 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.474e-05/0.4406, allocations: 53.56 kB / 0.8214 GB, free: 0 / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.4408, allocations: 136.4 kB / 0.8216 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4408, allocations: 0.7031 kB / 0.8216 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4408, allocations: 1.688 kB / 0.8216 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.4408, allocations: 0 / 0.8216 GB, free: 15.95 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.0004429/0.4413, allocations: 341.5 kB / 0.8219 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.4413, allocations: 10.62 kB / 0.8219 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.4413, allocations: 10.11 kB / 0.8219 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.4416, allocations: 157.9 kB / 0.8221 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.4416, allocations: 10.77 kB / 0.8221 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.4417, allocations: 13.52 kB / 0.8221 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.4418, allocations: 90.83 kB / 0.8222 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.4418, allocations: 3.938 kB / 0.8222 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.4418, allocations: 2.375 kB / 0.8222 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.4418, allocations: 3.688 kB / 0.8222 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.412e-05/0.4419, allocations: 38.28 kB / 0.8222 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.4423, allocations: 326.7 kB / 0.8225 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.4424, allocations: 79.86 kB / 0.8226 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.351e-05/0.4424, allocations: 31.27 kB / 0.8226 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.4425, allocations: 1.344 kB / 0.8226 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.4427, allocations: 128.2 kB / 0.8228 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.4427, allocations: 0 / 0.8228 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0002789/0.4429, allocations: 201.8 kB / 0.823 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.443, allocations: 59.44 kB / 0.823 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.933e-05/0.443, allocations: 109.3 kB / 0.8231 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.4431, allocations: 36.55 kB / 0.8232 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/0.4431, allocations: 100.8 kB / 0.8233 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.4431, allocations: 31.3 kB / 0.8233 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.4432, allocations: 50.48 kB / 0.8233 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.414e-05/0.4433, allocations: 322.9 kB / 0.8236 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.535e-05/0.4433, allocations: 47.84 kB / 0.8237 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.773e-05/0.4434, allocations: 86.11 kB / 0.8238 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.4436, allocations: 145.2 kB / 0.8239 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4436, allocations: 0 / 0.8239 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002282/0.4438, allocations: 204.8 kB / 0.8241 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.4438, allocations: 40.38 kB / 0.8241 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.4438, allocations: 2.688 kB / 0.8241 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.4438, allocations: 0.8906 kB / 0.8241 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.553e-05/0.4439, allocations: 18.95 kB / 0.8242 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4439, allocations: 0 / 0.8242 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.444, allocations: 33.16 kB / 0.8242 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.444, allocations: 13.64 kB / 0.8242 GB, free: 13.9 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 8.688e-05/0.4441, allocations: 140.8 kB / 0.8243 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.4441, allocations: 9.422 kB / 0.8243 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.4441, allocations: 14.38 kB / 0.8244 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.4442, allocations: 1.344 kB / 0.8244 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4442, allocations: 0 / 0.8244 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4442, allocations: 2.703 kB / 0.8244 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.4445, allocations: 401.8 kB / 0.8247 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4445, allocations: 0 / 0.8247 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.256e-05/0.4445, allocations: 17.05 kB / 0.8248 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4445, allocations: 5.531 kB / 0.8248 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.4445, allocations: 3.625 kB / 0.8248 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4445, allocations: 1.375 kB / 0.8248 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4445, allocations: 0 / 0.8248 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.4447, allocations: 268.7 kB / 0.825 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.4447, allocations: 7.828 kB / 0.825 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.4448, allocations: 4.312 kB / 0.825 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.842e-05/0.4448, allocations: 9.812 kB / 0.825 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.4448, allocations: 15.88 kB / 0.8251 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.4449, allocations: 15.67 kB / 0.8251 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.075e-05/0.4449, allocations: 82.86 kB / 0.8252 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4449, allocations: 3.938 kB / 0.8252 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001788/0.4451, allocations: 34 kB / 0.8252 GB, free: 13.13 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 0.0001323/0.4452, allocations: 116.5 kB / 0.8253 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002348/0.4454, allocations: 176.2 kB / 0.8255 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4454, allocations: 1.062 kB / 0.8255 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.653e-05/0.4455, allocations: 47.55 kB / 0.8255 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.4457, allocations: 16.98 kB / 0.8255 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.446, allocations: 221.6 kB / 0.8257 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.4462, allocations: 0.6899 MB / 0.8264 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.4462, allocations: 18.62 kB / 0.8264 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/0.4462, allocations: 0 / 0.8264 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of Templates: time 0.002596/0.4488, allocations: 1.459 MB / 0.8279 GB, free: 11.89 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.594395163003355] Failed to read output from testmodel.py, exit status != 0: 0.4576123100705445 0.46683435599999995 0.024172123 Calling exit ...