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.001469/0.001469, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.00143/0.00143, allocations: 170 kB / 23.27 MB, free: 1.223 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.9657/0.9657, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.736/0.736, allocations: 154.9 MB / 415.1 MB, free: 260 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 1.954e-06/1.954e-06, allocations: 1.203 kB / 0.5211 GB, free: 1.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.826e-05, allocations: 6.453 kB / 0.5211 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001183/0.001201, allocations: 0.649 MB / 0.5218 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.002447, allocations: 1.215 MB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.002499, allocations: 1.219 kB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.566e-05/0.002534, allocations: 3.938 kB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.489e-05/0.002609, allocations: 11.88 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.002979, allocations: 146 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.003126, allocations: 139.7 kB / 0.5232 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.382e-05/0.00321, allocations: 11.98 kB / 0.5233 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.003325, allocations: 79.88 kB / 0.5233 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.003431, allocations: 49.53 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.003453, allocations: 12 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.757e-05/0.003511, allocations: 16 kB / 0.5234 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.003538, allocations: 25.25 kB / 0.5234 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.003583, allocations: 39.91 kB / 0.5235 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.003719, allocations: 103.7 kB / 0.5236 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.003721, allocations: 4 kB / 0.5236 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003722, allocations: 0.5625 kB / 0.5236 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.003725, allocations: 0.75 kB / 0.5236 GB, free: 15.03 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.0004572/0.004182, allocations: 443.6 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.004223, allocations: 8.031 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.004271, allocations: 16.89 kB / 0.524 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.004439, allocations: 140.5 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.004464, allocations: 13.72 kB / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.004506, allocations: 8.375 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.004634, allocations: 82.89 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.004643, allocations: 192 / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.004655, allocations: 7.906 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.004664, allocations: 4.359 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.322e-05/0.004707, allocations: 31.84 kB / 0.5243 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.005054, allocations: 312.3 kB / 0.5246 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.849e-05/0.005153, allocations: 67.02 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.663e-05/0.005179, allocations: 27.7 kB / 0.5247 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.005188, allocations: 8.562 kB / 0.5247 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.005322, allocations: 114.6 kB / 0.5248 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.005323, allocations: 0 / 0.5248 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0002342/0.005557, allocations: 176.7 kB / 0.525 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.005588, allocations: 60.81 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.05e-05/0.005669, allocations: 169.9 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.00569, allocations: 41.69 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.00574, allocations: 135.5 kB / 0.5254 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.005765, allocations: 35.73 kB / 0.5254 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.005817, allocations: 52.2 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.005939, allocations: 0.4923 MB / 0.5259 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.357e-05/0.005993, allocations: 61.67 kB / 0.526 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.062e-05/0.006064, allocations: 113.8 kB / 0.5261 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.282e-05/0.006156, allocations: 124.7 kB / 0.5262 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006158, allocations: 1.062 kB / 0.5262 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001907/0.006349, allocations: 227.1 kB / 0.5264 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.006375, allocations: 33.7 kB / 0.5265 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.006382, allocations: 3.938 kB / 0.5265 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.006398, allocations: 4 kB / 0.5265 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.211e-05/0.006451, allocations: 19.92 kB / 0.5265 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.006454, allocations: 4 kB / 0.5265 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.954e-05/0.006543, allocations: 30.67 kB / 0.5265 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.006559, allocations: 12 kB / 0.5265 GB, free: 11.73 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 7.472e-05/0.006633, allocations: 168.5 kB / 0.5267 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.006649, allocations: 15.94 kB / 0.5267 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.006677, allocations: 17.78 kB / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.006679, allocations: 0 / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.006681, allocations: 0 / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.006686, allocations: 3.984 kB / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.006929, allocations: 382.9 kB / 0.5271 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.00693, allocations: 0 / 0.5271 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.617e-05/0.006946, allocations: 7.938 kB / 0.5271 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.006949, allocations: 4.938 kB / 0.5271 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.006958, allocations: 7.938 kB / 0.5271 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.00696, allocations: 4.641 kB / 0.5271 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006961, allocations: 3.938 kB / 0.5271 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.007126, allocations: 307.5 kB / 0.5274 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.007133, allocations: 7.953 kB / 0.5274 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.007149, allocations: 14.55 kB / 0.5274 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.2e-05/0.007191, allocations: 7.984 kB / 0.5274 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.007222, allocations: 7.984 kB / 0.5275 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.007231, allocations: 11.98 kB / 0.5275 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.569e-05/0.007267, allocations: 127.5 kB / 0.5276 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.007267, allocations: 0 / 0.5276 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001668/0.007434, allocations: 35.98 kB / 0.5276 GB, free: 10.56 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.0001174/0.007551, allocations: 114.9 kB / 0.5277 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001933/0.007744, allocations: 190.5 kB / 0.5279 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.007746, allocations: 0 / 0.5279 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.266e-05/0.007799, allocations: 55.59 kB / 0.528 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.00799, allocations: 25.69 kB / 0.528 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.008282, allocations: 182.4 kB / 0.5282 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.779e-05/0.00833, allocations: 63.34 kB / 0.5282 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.052e-05/0.008361, allocations: 11.92 kB / 0.5282 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.996e-05/0.00845, allocations: 94.19 kB / 0.5283 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of SimCode: time 8.71e-07/0.008451, allocations: 0 / 0.5283 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of Templates: time 0.003274/0.01172, allocations: 1.898 MB / 0.5302 GB, free: 7.988 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: 3.726590699981898]