Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.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.0007244/0.0007244, allocations: 80.53 kB / 19.93 MB, free: 4.605 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.0006997/0.0006997, allocations: 181.2 kB / 23.22 MB, free: 1.316 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.8224/0.8224, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.6669/0.6669, allocations: 154.6 MB / 414.5 MB, free: 0.8242 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.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.146e-06/3.146e-06, allocations: 0 / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.181e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001319/0.001351, allocations: 0.7065 MB / 0.62 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.002546, allocations: 1.283 MB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.002597, allocations: 0 / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.002626, allocations: 3.938 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.687e-05/0.002703, allocations: 23.78 kB / 0.6213 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.003205, allocations: 254.1 kB / 0.6215 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.003418, allocations: 263.5 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.468e-05/0.003513, allocations: 12.22 kB / 0.6218 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.003638, allocations: 139.8 kB / 0.6219 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.003749, allocations: 79.84 kB / 0.622 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.003779, allocations: 20 kB / 0.622 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.189e-05/0.003841, allocations: 36 kB / 0.622 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.319e-05/0.003874, allocations: 35.89 kB / 0.6221 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.795e-05/0.003952, allocations: 71.86 kB / 0.6221 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.004197, allocations: 271.3 kB / 0.6224 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.0042, allocations: 0 / 0.6224 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.813e-06/0.004202, allocations: 3.938 kB / 0.6224 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.004207, allocations: 4 kB / 0.6224 GB, free: 10.04 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005393/0.004746, allocations: 421.3 kB / 0.6228 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.004784, allocations: 9.469 kB / 0.6228 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.925e-05/0.004843, allocations: 20.84 kB / 0.6228 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.005202, allocations: 197.8 kB / 0.623 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.005226, allocations: 8.375 kB / 0.623 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.005254, allocations: 28.36 kB / 0.623 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.00542, allocations: 127.8 kB / 0.6232 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.005429, allocations: 4.188 kB / 0.6232 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.005442, allocations: 4.359 kB / 0.6232 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.005447, allocations: 4.125 kB / 0.6232 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.776e-05/0.005535, allocations: 63.89 kB / 0.6232 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004834/0.006019, allocations: 432.4 kB / 0.6237 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.006212, allocations: 137.2 kB / 0.6238 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.985e-05/0.006272, allocations: 57.7 kB / 0.6238 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.006283, allocations: 0 / 0.6238 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002837/0.006567, allocations: 215.9 kB / 0.624 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=22): time 1.012e-06/0.006568, allocations: 0 / 0.624 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of matching and sorting (n=22): time 0.0004019/0.00697, allocations: 312.4 kB / 0.6243 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.007016, allocations: 93.09 kB / 0.6244 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.399e-05/0.00709, allocations: 130 kB / 0.6246 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.007122, allocations: 45.69 kB / 0.6246 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.007172, allocations: 88.64 kB / 0.6247 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.007204, allocations: 51.62 kB / 0.6247 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-05/0.007283, allocations: 77.67 kB / 0.6248 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.163e-05/0.007364, allocations: 334.8 kB / 0.6251 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.007507, allocations: 143.6 kB / 0.6253 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.007663, allocations: 215.6 kB / 0.6255 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.007861, allocations: 250.3 kB / 0.6257 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.007864, allocations: 0 / 0.6257 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003776/0.008241, allocations: 420.1 kB / 0.6261 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/0.008282, allocations: 65.34 kB / 0.6262 GB, free: 5.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.008287, allocations: 4 kB / 0.6262 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.008304, allocations: 4 kB / 0.6262 GB, free: 5.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.027e-05/0.008374, allocations: 23.92 kB / 0.6262 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.008383, allocations: 7.938 kB / 0.6262 GB, free: 5.789 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.00856, allocations: 71.77 kB / 0.6263 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.008581, allocations: 15.94 kB / 0.6263 GB, free: 5.703 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001022/0.008683, allocations: 152.7 kB / 0.6264 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.0087, allocations: 11.95 kB / 0.6264 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/0.008741, allocations: 20.42 kB / 0.6265 GB, free: 5.508 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.008745, allocations: 4 kB / 0.6265 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.008751, allocations: 4 kB / 0.6265 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.008755, allocations: 0 / 0.6265 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004095/0.009164, allocations: 0.5519 MB / 0.627 GB, free: 4.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.009167, allocations: 4 kB / 0.627 GB, free: 4.906 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.009196, allocations: 15.92 kB / 0.627 GB, free: 4.891 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.009202, allocations: 7.984 kB / 0.627 GB, free: 4.883 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.009214, allocations: 7.984 kB / 0.6271 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.009216, allocations: 4 kB / 0.6271 GB, free: 4.871 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.009218, allocations: 0 / 0.6271 GB, free: 4.871 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.009496, allocations: 426.5 kB / 0.6275 GB, free: 4.438 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.366e-05/0.00951, allocations: 15.89 kB / 0.6275 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.009532, allocations: 8.094 kB / 0.6275 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.009611, allocations: 11.92 kB / 0.6275 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.009663, allocations: 23.95 kB / 0.6275 GB, free: 4.379 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.009676, allocations: 19.98 kB / 0.6275 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.824e-05/0.009714, allocations: 95.27 kB / 0.6276 GB, free: 4.266 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009714, allocations: 0 / 0.6276 GB, free: 4.266 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002387/0.009953, allocations: 67.86 kB / 0.6277 GB, free: 4.199 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.000157/0.01011, allocations: 107.9 kB / 0.6278 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003473/0.01046, allocations: 381.2 kB / 0.6282 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.01046, allocations: 0 / 0.6282 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.949e-05/0.01056, allocations: 84.33 kB / 0.6282 GB, free: 3.598 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.01083, allocations: 31.98 kB / 0.6283 GB, free: 3.566 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.01122, allocations: 296.7 kB / 0.6286 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.241e-05/0.01129, allocations: 88.97 kB / 0.6286 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.01132, allocations: 24.5 kB / 0.6287 GB, free: 3.109 MB / 0.5886 GB Notification: Performance of SimCode: time 4.41e-07/0.01132, allocations: 7.938 kB / 0.6287 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of Templates: time 0.002807/0.01413, allocations: 2.293 MB / 0.6309 GB, free: 0.8203 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.020922960713506] Failed to read output from testmodel.py, exit status != 0: 0.020303837023675442 0.029002574000000003 0.023082595 Calling exit ...