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.001414/0.001414, allocations: 75.02 kB / 19.16 MB, free: 2.566 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.001564/0.001564, allocations: 168.5 kB / 22.44 MB, free: 5.312 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.389/1.389, allocations: 177.2 MB / 202.8 MB, free: 9.199 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.211/1.211, allocations: 155 MB / 414.2 MB, free: 4.941 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: 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.00255/0.00255, allocations: 72.39 kB / 0.6192 GB, free: 4.133 MB / 0.5294 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.5727/0.5752, allocations: 102 MB / 0.7187 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001786/0.577, allocations: 0.6555 MB / 0.7194 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.5786, allocations: 1.188 MB / 0.7205 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/0.5786, allocations: 1.344 kB / 0.7205 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.5787, allocations: 4.5 kB / 0.7206 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.774e-05/0.5787, allocations: 10.59 kB / 0.7206 GB, free: 500 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006095/0.5793, allocations: 137.9 kB / 0.7207 GB, free: 432 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.5796, allocations: 147.9 kB / 0.7208 GB, free: 364 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.5797, allocations: 9.266 kB / 0.7208 GB, free: 360 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.5799, allocations: 89.14 kB / 0.7209 GB, free: 316 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.58, allocations: 47.05 kB / 0.721 GB, free: 300 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.918e-05/0.5801, allocations: 13.44 kB / 0.721 GB, free: 300 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.361e-05/0.5802, allocations: 25.09 kB / 0.721 GB, free: 296 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.881e-05/0.5802, allocations: 21.2 kB / 0.721 GB, free: 284 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.539e-05/0.5803, allocations: 47.69 kB / 0.7211 GB, free: 260 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.5806, allocations: 157.7 kB / 0.7212 GB, free: 196 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5806, allocations: 1.062 kB / 0.7212 GB, free: 196 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5806, allocations: 4 kB / 0.7212 GB, free: 192 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.5806, allocations: 0.75 kB / 0.7212 GB, free: 192 kB / 0.6075 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.0007734/0.5814, allocations: 341.9 kB / 0.7216 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.5814, allocations: 10.16 kB / 0.7216 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.863e-05/0.5815, allocations: 12.97 kB / 0.7216 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.582, allocations: 157.6 kB / 0.7217 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.582, allocations: 6.609 kB / 0.7217 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/0.582, allocations: 19.42 kB / 0.7218 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.5823, allocations: 84.14 kB / 0.7218 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.5823, allocations: 5.094 kB / 0.7218 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.5823, allocations: 6.281 kB / 0.7218 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.5823, allocations: 1.125 kB / 0.7218 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.5824, allocations: 39.86 kB / 0.7219 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007023/0.5831, allocations: 275.3 kB / 0.7221 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.5834, allocations: 84.7 kB / 0.7222 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.462e-05/0.5835, allocations: 30.78 kB / 0.7223 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.5835, allocations: 1.5 kB / 0.7223 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003313/0.5838, allocations: 132.6 kB / 0.7224 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 1.724e-06/0.5838, allocations: 0 / 0.7224 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0005208/0.5843, allocations: 202.2 kB / 0.7226 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.5844, allocations: 55.23 kB / 0.7226 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.5845, allocations: 114.9 kB / 0.7227 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.5846, allocations: 34.59 kB / 0.7228 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.42e-05/0.5846, allocations: 93.58 kB / 0.7229 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.5847, allocations: 34.45 kB / 0.7229 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.5848, allocations: 55.91 kB / 0.7229 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.5849, allocations: 319.6 kB / 0.7233 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.5851, allocations: 77.44 kB / 0.7233 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.5853, allocations: 114.5 kB / 0.7234 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.5855, allocations: 135 kB / 0.7236 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.5855, allocations: 4.875 kB / 0.7236 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004908/0.586, allocations: 240.4 kB / 0.7238 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/0.5861, allocations: 37.11 kB / 0.7238 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.5861, allocations: 0.9375 kB / 0.7238 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.5861, allocations: 2.797 kB / 0.7238 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.006e-05/0.5862, allocations: 12.86 kB / 0.7238 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.5862, allocations: 3.094 kB / 0.7239 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.5864, allocations: 40.28 kB / 0.7239 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.5865, allocations: 13.41 kB / 0.7239 GB, free: 14.08 MB / 0.6231 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.000153/0.5866, allocations: 134 kB / 0.724 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.5866, allocations: 8.953 kB / 0.724 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.845e-05/0.5867, allocations: 15.38 kB / 0.7241 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.5867, allocations: 9.672 kB / 0.7241 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.5867, allocations: 3.938 kB / 0.7241 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5867, allocations: 1.219 kB / 0.7241 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005521/0.5873, allocations: 377.1 kB / 0.7244 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.5873, allocations: 0 / 0.7244 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.5873, allocations: 5.719 kB / 0.7244 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.5873, allocations: 4.688 kB / 0.7244 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.5873, allocations: 7.781 kB / 0.7244 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.5873, allocations: 1.375 kB / 0.7244 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.5873, allocations: 0.7969 kB / 0.7244 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000486/0.5878, allocations: 265.8 kB / 0.7247 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.5878, allocations: 11.42 kB / 0.7247 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.5879, allocations: 4.578 kB / 0.7247 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.588, allocations: 5.609 kB / 0.7247 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.29e-05/0.5881, allocations: 17.36 kB / 0.7247 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.5881, allocations: 7.031 kB / 0.7247 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.876e-05/0.5882, allocations: 95.47 kB / 0.7248 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5882, allocations: 0 / 0.7248 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003314/0.5885, allocations: 33.05 kB / 0.7249 GB, free: 13.35 MB / 0.6231 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.0001906/0.5887, allocations: 111.1 kB / 0.725 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005026/0.5892, allocations: 209.8 kB / 0.7252 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5892, allocations: 0 / 0.7252 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.5893, allocations: 53.2 kB / 0.7252 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.5897, allocations: 23.22 kB / 0.7252 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005737/0.5902, allocations: 192.8 kB / 0.7254 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.373e-05/0.5903, allocations: 72.97 kB / 0.7255 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.363e-05/0.5904, allocations: 8.625 kB / 0.7255 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/0.5904, allocations: 20.12 kB / 0.7255 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.5904, allocations: 4 kB / 0.7255 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of Templates: time 0.006742/0.5972, allocations: 1.768 MB / 0.7273 GB, free: 12.67 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.155615607276559] Failed to read output from testmodel.py, exit status != 0: 0.607733691111207 0.622202499 0.038452764 Calling exit ...