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.00143/0.00143, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001581/0.001581, allocations: 211.8 kB / 22.24 MB, free: 5.246 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.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.353/1.353, allocations: 203.8 MB / 0.5042 GB, free: 4.598 MB / 414.1 MB " [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.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: 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.002178/0.002178, allocations: 59.91 kB / 0.7187 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6553/0.6575, allocations: 102 MB / 0.8183 GB, free: 28.87 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002028/0.6595, allocations: 0.7057 MB / 0.819 GB, free: 28.45 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.6612, allocations: 1.283 MB / 0.8202 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.749e-05/0.6612, allocations: 5.25 kB / 0.8202 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.914e-05/0.6613, allocations: 7.75 kB / 0.8202 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.619e-05/0.6613, allocations: 20.55 kB / 0.8202 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006636/0.662, allocations: 250.9 kB / 0.8205 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.6623, allocations: 250.4 kB / 0.8207 GB, free: 27.28 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.6624, allocations: 12.64 kB / 0.8207 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.6626, allocations: 105 kB / 0.8208 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.6628, allocations: 84 kB / 0.8209 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.686e-05/0.6629, allocations: 22.97 kB / 0.8209 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.663, allocations: 31.5 kB / 0.821 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.624e-05/0.663, allocations: 38.7 kB / 0.821 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.6631, allocations: 82.7 kB / 0.8211 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.6635, allocations: 222.9 kB / 0.8213 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.6635, allocations: 2.547 kB / 0.8213 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6635, allocations: 0 / 0.8213 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.6635, allocations: 0.8125 kB / 0.8213 GB, free: 27.07 MB / 0.6387 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.0008289/0.6643, allocations: 431.4 kB / 0.8217 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.6644, allocations: 10.97 kB / 0.8217 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.324e-05/0.6645, allocations: 19.03 kB / 0.8217 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.6651, allocations: 195 kB / 0.8219 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.6651, allocations: 15.62 kB / 0.8219 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.877e-05/0.6652, allocations: 18.73 kB / 0.822 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.6655, allocations: 135.2 kB / 0.8221 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.6655, allocations: 3.938 kB / 0.8221 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.6655, allocations: 4.375 kB / 0.8221 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.6655, allocations: 2.438 kB / 0.8221 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.6656, allocations: 58.27 kB / 0.8221 GB, free: 26.45 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007033/0.6663, allocations: 431.9 kB / 0.8226 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.6666, allocations: 145.6 kB / 0.8227 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.78e-05/0.6667, allocations: 49.59 kB / 0.8227 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.6667, allocations: 2.125 kB / 0.8227 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003746/0.6671, allocations: 217.1 kB / 0.823 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=22): time 1.213e-06/0.6671, allocations: 0 / 0.823 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=22): time 0.00059/0.6677, allocations: 318.4 kB / 0.8233 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.6677, allocations: 87.55 kB / 0.8233 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.493e-05/0.6678, allocations: 133.9 kB / 0.8235 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/0.6678, allocations: 41.27 kB / 0.8235 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.6679, allocations: 96.62 kB / 0.8236 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.6679, allocations: 55.77 kB / 0.8237 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.6681, allocations: 73.41 kB / 0.8237 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.284e-05/0.6681, allocations: 323.9 kB / 0.824 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.6683, allocations: 150.9 kB / 0.8242 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.6686, allocations: 214.9 kB / 0.8244 GB, free: 24.75 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.6688, allocations: 243.4 kB / 0.8246 GB, free: 24.56 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6688, allocations: 0 / 0.8246 GB, free: 24.56 MB / 0.6387 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005934/0.6694, allocations: 423.1 kB / 0.825 GB, free: 24.31 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.007e-05/0.6695, allocations: 68.64 kB / 0.8251 GB, free: 24.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.6695, allocations: 2.344 kB / 0.8251 GB, free: 24.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.6695, allocations: 3.688 kB / 0.8251 GB, free: 24.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.832e-05/0.6696, allocations: 18.53 kB / 0.8251 GB, free: 24.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.6696, allocations: 8.797 kB / 0.8251 GB, free: 24.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.67, allocations: 71.28 kB / 0.8252 GB, free: 24.22 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.67, allocations: 20.19 kB / 0.8252 GB, free: 24.22 MB / 0.6387 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.0001104/0.6701, allocations: 143 kB / 0.8253 GB, free: 24.09 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.6702, allocations: 22.33 kB / 0.8254 GB, free: 24.08 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/0.6702, allocations: 10.31 kB / 0.8254 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.6702, allocations: 2.562 kB / 0.8254 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.6702, allocations: 1.953 kB / 0.8254 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.6702, allocations: 10.11 kB / 0.8254 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005662/0.6708, allocations: 0.543 MB / 0.8259 GB, free: 23.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.6708, allocations: 0 / 0.8259 GB, free: 23.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.526e-05/0.6708, allocations: 20.72 kB / 0.8259 GB, free: 23.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.6708, allocations: 1.984 kB / 0.8259 GB, free: 23.66 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.6709, allocations: 5.109 kB / 0.8259 GB, free: 23.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.6709, allocations: 6.875 kB / 0.8259 GB, free: 23.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6709, allocations: 0 / 0.8259 GB, free: 23.66 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004164/0.6713, allocations: 434.2 kB / 0.8264 GB, free: 23.38 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.762e-05/0.6713, allocations: 12.5 kB / 0.8264 GB, free: 23.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.6714, allocations: 18.16 kB / 0.8264 GB, free: 23.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.6715, allocations: 9.188 kB / 0.8264 GB, free: 23.36 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.6716, allocations: 33.05 kB / 0.8264 GB, free: 23.35 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.6716, allocations: 15.89 kB / 0.8264 GB, free: 23.35 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.243e-05/0.6716, allocations: 97.09 kB / 0.8265 GB, free: 23.27 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.6716, allocations: 0 / 0.8265 GB, free: 23.27 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003641/0.672, allocations: 61.12 kB / 0.8266 GB, free: 23.25 MB / 0.6387 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.0001615/0.6722, allocations: 107.3 kB / 0.8267 GB, free: 23.16 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005148/0.6727, allocations: 380.8 kB / 0.8271 GB, free: 22.91 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6727, allocations: 0.9688 kB / 0.8271 GB, free: 22.91 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.6728, allocations: 87.89 kB / 0.8271 GB, free: 22.88 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.6733, allocations: 29.25 kB / 0.8272 GB, free: 22.88 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005496/0.6738, allocations: 284 kB / 0.8274 GB, free: 22.68 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.034e-05/0.6739, allocations: 93.7 kB / 0.8275 GB, free: 22.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.546e-05/0.674, allocations: 24.33 kB / 0.8276 GB, free: 22.59 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.674, allocations: 18.31 kB / 0.8276 GB, free: 22.59 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.674, allocations: 0.9688 kB / 0.8276 GB, free: 22.59 MB / 0.6387 GB Notification: Performance of Templates: time 0.00727/0.6813, allocations: 2.964 MB / 0.8305 GB, free: 22.26 MB / 0.6387 GB " [Timeout remaining time 659] 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: 7.028925841674209] Failed to read output from testmodel.py, exit status != 0: 0.6895401831716299 0.701517086 0.035381734000000005 Calling exit ...