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.001068/0.001068, allocations: 92.22 kB / 19.65 MB, free: 280 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.001013/0.001013, allocations: 165 kB / 23.02 MB, free: 1.555 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 1.069/1.069, allocations: 177.1 MB / 203.4 MB, free: 5.637 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-535:34: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-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 master/package.mo): time 0.8086/0.8086, allocations: 154.8 MB / 414.7 MB, free: 488 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: Performance of FrontEnd - loaded program: time 2.956e-06/2.956e-06, allocations: 0 / 0.5206 GB, free: 1.945 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.91e-05, allocations: 3.188 kB / 0.5206 GB, free: 1.941 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.0015/0.001529, allocations: 0.6562 MB / 0.5212 GB, free: 1.309 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.002975, allocations: 1.213 MB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.003025, allocations: 0 / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.4e-05/0.003059, allocations: 4.719 kB / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.688e-05/0.003136, allocations: 15.86 kB / 0.5224 GB, free: 68 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004894/0.003626, allocations: 144.6 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.003808, allocations: 140.8 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.537e-05/0.003903, allocations: 11.98 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.004016, allocations: 77.45 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.004123, allocations: 51.69 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.004152, allocations: 12 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.659e-05/0.004218, allocations: 27.98 kB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.832e-05/0.004247, allocations: 21 kB / 0.5229 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.5e-05/0.004312, allocations: 39.91 kB / 0.5229 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.004491, allocations: 115.7 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.004494, allocations: 0.6875 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.92e-07/0.004495, allocations: 3.938 kB / 0.523 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.0045, allocations: 1.281 kB / 0.523 GB, free: 15.44 MB / 0.4948 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.0005213/0.005021, allocations: 442.2 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.005059, allocations: 12.03 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.26e-05/0.005121, allocations: 21.7 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.005413, allocations: 149.5 kB / 0.5236 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.005435, allocations: 9.031 kB / 0.5236 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.005466, allocations: 20.36 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.005608, allocations: 83.75 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.005618, allocations: 192 / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.005634, allocations: 8.344 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.005642, allocations: 6.375 kB / 0.5238 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.362e-05/0.005706, allocations: 31.97 kB / 0.5238 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.006129, allocations: 331.6 kB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.00627, allocations: 80.02 kB / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.665e-05/0.006317, allocations: 31.67 kB / 0.5242 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.006324, allocations: 0 / 0.5242 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.006504, allocations: 130.3 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.006506, allocations: 4.719 kB / 0.5243 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0003204/0.006826, allocations: 185.6 kB / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.00686, allocations: 56.22 kB / 0.5246 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.981e-05/0.00695, allocations: 173.9 kB / 0.5247 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.006976, allocations: 35.2 kB / 0.5248 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.007032, allocations: 134.9 kB / 0.5249 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.007062, allocations: 39.81 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-05/0.007136, allocations: 55.34 kB / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.007256, allocations: 0.489 MB / 0.5255 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.941e-05/0.007355, allocations: 69.67 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.007468, allocations: 121 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.007606, allocations: 136.3 kB / 0.5258 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.00761, allocations: 4.625 kB / 0.5258 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002877/0.007898, allocations: 245.5 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.007929, allocations: 32.92 kB / 0.526 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.007937, allocations: 8 kB / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.007953, allocations: 1.75 kB / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.00802, allocations: 19.98 kB / 0.5261 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.008025, allocations: 3.938 kB / 0.5261 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.008136, allocations: 23.94 kB / 0.5261 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.008156, allocations: 17.02 kB / 0.5261 GB, free: 12.01 MB / 0.4948 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.865e-05/0.008245, allocations: 165.7 kB / 0.5263 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.008274, allocations: 23.88 kB / 0.5263 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.008308, allocations: 12.44 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.00831, allocations: 3.188 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.008313, allocations: 4 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.008317, allocations: 0 / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.008642, allocations: 417.2 kB / 0.5267 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.008643, allocations: 0 / 0.5267 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.008665, allocations: 4 kB / 0.5267 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.008669, allocations: 4 kB / 0.5267 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.008678, allocations: 0 / 0.5267 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.00868, allocations: 3.031 kB / 0.5267 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.008682, allocations: 3.984 kB / 0.5267 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.008922, allocations: 322.2 kB / 0.527 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.846e-06/0.008931, allocations: 7.953 kB / 0.527 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.008952, allocations: 7.984 kB / 0.527 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.363e-05/0.009016, allocations: 7.984 kB / 0.5271 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.009059, allocations: 11.98 kB / 0.5271 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.009073, allocations: 11.98 kB / 0.5271 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.089e-05/0.009114, allocations: 124.6 kB / 0.5272 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009114, allocations: 0 / 0.5272 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002659/0.00938, allocations: 35.98 kB / 0.5272 GB, free: 10.8 MB / 0.4948 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.0001325/0.009512, allocations: 113.8 kB / 0.5273 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.009763, allocations: 205.3 kB / 0.5275 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.009765, allocations: 0 / 0.5275 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.218e-05/0.009837, allocations: 52.28 kB / 0.5276 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.01009, allocations: 24.67 kB / 0.5276 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.01041, allocations: 194.4 kB / 0.5278 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.084e-05/0.01045, allocations: 63.34 kB / 0.5279 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.172e-05/0.01049, allocations: 4.5 kB / 0.5279 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.01052, allocations: 22.92 kB / 0.5279 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/0.01052, allocations: 0 / 0.5279 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of Templates: time 0.003811/0.01433, allocations: 1.768 MB / 0.5296 GB, free: 8.406 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.036065599881113]