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.0007138/0.0007138, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008594/0.0008594, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8539/0.8539, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.6963/0.6963, allocations: 154.5 MB / 414.5 MB, free: 0.8398 MB / 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.926e-06/2.926e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.823e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001346/0.001374, allocations: 0.6473 MB / 0.6199 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.002682, allocations: 1.178 MB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.276e-05/0.002724, allocations: 0 / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.002755, allocations: 7.922 kB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.553e-05/0.00282, allocations: 11.88 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.003215, allocations: 150.9 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.003369, allocations: 143.7 kB / 0.6214 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.746e-05/0.003467, allocations: 11.98 kB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.191e-05/0.003559, allocations: 75.92 kB / 0.6215 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.748e-05/0.003646, allocations: 47.86 kB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.003667, allocations: 12 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.03e-05/0.003717, allocations: 24 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.003743, allocations: 23.91 kB / 0.6216 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.003793, allocations: 39.95 kB / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.003959, allocations: 159.6 kB / 0.6217 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.003961, allocations: 0 / 0.6217 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003962, allocations: 4 kB / 0.6218 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.003966, allocations: 0 / 0.6218 GB, free: 10.67 MB / 0.5886 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.000455/0.004421, allocations: 339.8 kB / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.004454, allocations: 9.469 kB / 0.6221 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.004498, allocations: 12.89 kB / 0.6221 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.00474, allocations: 145.9 kB / 0.6222 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.00476, allocations: 16.36 kB / 0.6223 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.004778, allocations: 8.375 kB / 0.6223 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.004902, allocations: 98.11 kB / 0.6224 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.004909, allocations: 192 / 0.6224 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.004919, allocations: 4.312 kB / 0.6224 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.004926, allocations: 8.125 kB / 0.6224 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.436e-05/0.00499, allocations: 35.97 kB / 0.6224 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.005352, allocations: 280.4 kB / 0.6227 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.005475, allocations: 78.58 kB / 0.6227 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.005517, allocations: 28.84 kB / 0.6228 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.005527, allocations: 8 kB / 0.6228 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.005695, allocations: 131.2 kB / 0.6229 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.005696, allocations: 0 / 0.6229 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0002788/0.005975, allocations: 205 kB / 0.6231 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.006008, allocations: 55.41 kB / 0.6231 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.708e-05/0.006075, allocations: 121.7 kB / 0.6233 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.006097, allocations: 33.7 kB / 0.6233 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.00614, allocations: 84.28 kB / 0.6234 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.006164, allocations: 35.8 kB / 0.6234 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.006215, allocations: 53.62 kB / 0.6235 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.483e-05/0.00629, allocations: 318.8 kB / 0.6238 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.994e-05/0.00637, allocations: 77.67 kB / 0.6238 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.864e-05/0.006459, allocations: 114 kB / 0.6239 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.006574, allocations: 141.9 kB / 0.6241 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.006576, allocations: 0 / 0.6241 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002124/0.006789, allocations: 240.8 kB / 0.6243 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.006818, allocations: 41.69 kB / 0.6244 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.006822, allocations: 0 / 0.6244 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.006835, allocations: 4 kB / 0.6244 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.979e-05/0.006885, allocations: 11.94 kB / 0.6244 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.006889, allocations: 0 / 0.6244 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.00699, allocations: 47.84 kB / 0.6244 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.007006, allocations: 8 kB / 0.6244 GB, free: 7.684 MB / 0.5886 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.838e-05/0.007074, allocations: 130.9 kB / 0.6245 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.007086, allocations: 19.83 kB / 0.6246 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.00711, allocations: 8.438 kB / 0.6246 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.007112, allocations: 0 / 0.6246 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.007116, allocations: 0 / 0.6246 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.007119, allocations: 4 kB / 0.6246 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.00737, allocations: 374.1 kB / 0.6249 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.007371, allocations: 0 / 0.6249 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.451e-05/0.007386, allocations: 4 kB / 0.6249 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.007387, allocations: 4 kB / 0.6249 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.007397, allocations: 11.92 kB / 0.625 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.007398, allocations: 0 / 0.625 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007399, allocations: 3.938 kB / 0.625 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.007567, allocations: 270.5 kB / 0.6252 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-06/0.007575, allocations: 11.89 kB / 0.6252 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.007592, allocations: 7.984 kB / 0.6252 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.142e-05/0.007633, allocations: 4 kB / 0.6252 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.007671, allocations: 15.97 kB / 0.6253 GB, free: 6.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.00768, allocations: 7.984 kB / 0.6253 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.037e-05/0.00771, allocations: 91.58 kB / 0.6253 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007711, allocations: 4 kB / 0.6254 GB, free: 6.668 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001659/0.007876, allocations: 39.92 kB / 0.6254 GB, free: 6.629 MB / 0.5886 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.0001084/0.007985, allocations: 111.2 kB / 0.6255 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.00819, allocations: 205 kB / 0.6257 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.008191, allocations: 0 / 0.6257 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.725e-05/0.008248, allocations: 51.92 kB / 0.6257 GB, free: 6.242 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.008422, allocations: 24.09 kB / 0.6258 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002841/0.008706, allocations: 215 kB / 0.626 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.686e-05/0.008753, allocations: 83.3 kB / 0.626 GB, free: 5.875 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.008777, allocations: 12.5 kB / 0.6261 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of SimCode: time 3.61e-07/0.008777, allocations: 0 / 0.6261 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of Templates: time 0.002005/0.01078, allocations: 1.463 MB / 0.6275 GB, free: 4.414 MB / 0.5886 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.047578617930412] Failed to read output from testmodel.py, exit status != 0: 0.014828910119831562 0.021981855 0.016496934 Calling exit ...