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.000803/0.000803, allocations: 72.45 kB / 19.9 MB, free: 16 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.0008241/0.0008241, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 18.57 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.8289/0.8289, allocations: 177.2 MB / 203.6 MB, free: 5.766 MB / 186.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.677/0.677, allocations: 155 MB / 415 MB, free: 500 kB / 378.7 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 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.0009579/0.0009579, allocations: 74.48 kB / 0.6199 GB, free: 12.76 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.425, allocations: 102 MB / 0.7195 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001291/0.4262, allocations: 0.651 MB / 0.7201 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.4273, allocations: 1.188 MB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.4274, allocations: 1.469 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.4274, allocations: 4.594 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.4275, allocations: 10.22 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.4279, allocations: 146 kB / 0.7214 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.428, allocations: 135 kB / 0.7216 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.4281, allocations: 13.5 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.4283, allocations: 85.11 kB / 0.7217 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.804e-05/0.4284, allocations: 50 kB / 0.7217 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.4284, allocations: 13.84 kB / 0.7217 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.89e-05/0.4284, allocations: 26.72 kB / 0.7217 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.4285, allocations: 15.73 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.057e-05/0.4285, allocations: 59.67 kB / 0.7218 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.4287, allocations: 155.4 kB / 0.722 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4287, allocations: 0 / 0.722 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4287, allocations: 3.938 kB / 0.722 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4287, allocations: 0 / 0.722 GB, free: 21.85 MB / 0.6355 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.00044/0.4292, allocations: 346.5 kB / 0.7223 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.4292, allocations: 10.81 kB / 0.7223 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.4293, allocations: 11.8 kB / 0.7223 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.4295, allocations: 150.2 kB / 0.7225 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.4295, allocations: 10.23 kB / 0.7225 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.4296, allocations: 15.67 kB / 0.7225 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.4297, allocations: 88.19 kB / 0.7226 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.4297, allocations: 5 kB / 0.7226 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.4297, allocations: 6.281 kB / 0.7226 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4297, allocations: 2.562 kB / 0.7226 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.894e-05/0.4298, allocations: 38.47 kB / 0.7226 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.4302, allocations: 279 kB / 0.7229 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.4303, allocations: 76.98 kB / 0.723 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.288e-05/0.4303, allocations: 38.14 kB / 0.723 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.4303, allocations: 1.219 kB / 0.723 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.4306, allocations: 130.1 kB / 0.7231 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 2.144e-06/0.4306, allocations: 0 / 0.7231 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0003006/0.4309, allocations: 206.1 kB / 0.7233 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.4309, allocations: 56.03 kB / 0.7234 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.454e-05/0.4309, allocations: 111.5 kB / 0.7235 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.431, allocations: 38.59 kB / 0.7235 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/0.431, allocations: 88.84 kB / 0.7236 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.431, allocations: 34.52 kB / 0.7236 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/0.4311, allocations: 47.62 kB / 0.7237 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.042e-05/0.4311, allocations: 319.9 kB / 0.724 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.645e-05/0.4312, allocations: 81.88 kB / 0.7241 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.14e-05/0.4313, allocations: 123 kB / 0.7242 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.4314, allocations: 130.3 kB / 0.7243 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4314, allocations: 9.031 kB / 0.7243 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002284/0.4316, allocations: 236.9 kB / 0.7245 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.4317, allocations: 35.2 kB / 0.7246 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4317, allocations: 5.188 kB / 0.7246 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.4317, allocations: 2.656 kB / 0.7246 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.603e-05/0.4317, allocations: 17.14 kB / 0.7246 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.4317, allocations: 6.641 kB / 0.7246 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.4319, allocations: 35.7 kB / 0.7246 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.4319, allocations: 13.33 kB / 0.7247 GB, free: 19.73 MB / 0.6355 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 6.156e-05/0.4319, allocations: 133.9 kB / 0.7248 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.432, allocations: 9.328 kB / 0.7248 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.432, allocations: 10.59 kB / 0.7248 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.432, allocations: 2.375 kB / 0.7248 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.432, allocations: 1.594 kB / 0.7248 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.432, allocations: 1.078 kB / 0.7248 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.4322, allocations: 380.5 kB / 0.7252 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4322, allocations: 0 / 0.7252 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.4323, allocations: 5.141 kB / 0.7252 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4323, allocations: 2.109 kB / 0.7252 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.4323, allocations: 7.156 kB / 0.7252 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.4323, allocations: 1.281 kB / 0.7252 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4323, allocations: 0 / 0.7252 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.4325, allocations: 262.9 kB / 0.7254 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.4325, allocations: 6.672 kB / 0.7254 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.4325, allocations: 9.922 kB / 0.7254 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.122e-05/0.4325, allocations: 5.031 kB / 0.7255 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.4326, allocations: 24.59 kB / 0.7255 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.4326, allocations: 7.672 kB / 0.7255 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.118e-05/0.4326, allocations: 90.66 kB / 0.7256 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4326, allocations: 1.312 kB / 0.7256 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001903/0.4328, allocations: 32.45 kB / 0.7256 GB, free: 19.02 MB / 0.6355 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.0001131/0.4329, allocations: 111.1 kB / 0.7257 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.4331, allocations: 210.1 kB / 0.7259 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4331, allocations: 256 / 0.7259 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.61e-05/0.4332, allocations: 56.03 kB / 0.726 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.4334, allocations: 15.81 kB / 0.726 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.4337, allocations: 217.4 kB / 0.7262 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.679e-05/0.4338, allocations: 77.03 kB / 0.7263 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.4338, allocations: 15.8 kB / 0.7263 GB, free: 18.51 MB / 0.6355 GB Notification: Performance of SimCode: time 6.12e-07/0.4338, allocations: 0 / 0.7263 GB, free: 18.51 MB / 0.6355 GB Notification: Performance of Templates: time 0.002667/0.4365, allocations: 1.494 MB / 0.7277 GB, free: 18.37 MB / 0.6355 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.298119229031727] Failed to read output from testmodel.py, exit status != 0: 0.44182749814353883 0.457471102 0.025917594000000002 Calling exit ...