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.001431/0.001431, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001941/0.001941, allocations: 216.6 kB / 22.25 MB, free: 5.078 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 8 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.273/1.273, allocations: 203.8 MB / 0.5041 GB, free: 4.961 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.002164/0.002164, allocations: 67.89 kB / 0.7187 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6504/0.6525, allocations: 102 MB / 0.8183 GB, free: 29.21 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002082/0.6546, allocations: 0.7397 MB / 0.8191 GB, free: 28.75 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.6564, allocations: 1.287 MB / 0.8203 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.634e-05/0.6564, allocations: 1.156 kB / 0.8203 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.927e-05/0.6565, allocations: 5.297 kB / 0.8203 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.225e-05/0.6566, allocations: 26.58 kB / 0.8203 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007666/0.6573, allocations: 251.1 kB / 0.8206 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000347/0.6577, allocations: 257.5 kB / 0.8208 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.6578, allocations: 11.17 kB / 0.8208 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.658, allocations: 103.5 kB / 0.8209 GB, free: 27.51 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.6582, allocations: 97.23 kB / 0.821 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.383e-05/0.6582, allocations: 23.06 kB / 0.8211 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.732e-05/0.6583, allocations: 33.72 kB / 0.8211 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.6584, allocations: 37.36 kB / 0.8211 GB, free: 27.44 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.6585, allocations: 85.52 kB / 0.8212 GB, free: 27.4 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.6588, allocations: 229.3 kB / 0.8214 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6588, allocations: 0 / 0.8214 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6588, allocations: 1.25 kB / 0.8214 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.6589, allocations: 0.8438 kB / 0.8214 GB, free: 27.32 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.0007645/0.6596, allocations: 436.6 kB / 0.8218 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.6597, allocations: 11.75 kB / 0.8219 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.085e-05/0.6598, allocations: 22.45 kB / 0.8219 GB, free: 26.94 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005644/0.6603, allocations: 187.8 kB / 0.8221 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.191e-05/0.6604, allocations: 14 kB / 0.8221 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.078e-05/0.6604, allocations: 19.08 kB / 0.8221 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.6607, allocations: 134.9 kB / 0.8222 GB, free: 26.72 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.6607, allocations: 4.469 kB / 0.8222 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.6608, allocations: 11.41 kB / 0.8222 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.6608, allocations: 3.609 kB / 0.8222 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.6609, allocations: 58.88 kB / 0.8223 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009213/0.6618, allocations: 498 kB / 0.8228 GB, free: 26.31 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.6621, allocations: 141.4 kB / 0.8229 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.6623, allocations: 49.23 kB / 0.8229 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.6623, allocations: 4.906 kB / 0.823 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004933/0.6628, allocations: 204.1 kB / 0.8231 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=22): time 1.233e-06/0.6628, allocations: 3.938 kB / 0.8231 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=22): time 0.0006642/0.6634, allocations: 315.3 kB / 0.8234 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.6635, allocations: 92.27 kB / 0.8235 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.6636, allocations: 127 kB / 0.8237 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.6636, allocations: 37.98 kB / 0.8237 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.6637, allocations: 100.1 kB / 0.8238 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.953e-05/0.6638, allocations: 55.75 kB / 0.8238 GB, free: 25.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.6639, allocations: 72.64 kB / 0.8239 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.664, allocations: 323.6 kB / 0.8242 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.6642, allocations: 86.78 kB / 0.8243 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.6644, allocations: 156 kB / 0.8245 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.6648, allocations: 250.3 kB / 0.8247 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.6648, allocations: 1.156 kB / 0.8247 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006386/0.6654, allocations: 366.1 kB / 0.825 GB, free: 24.72 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.731e-05/0.6655, allocations: 71.41 kB / 0.8251 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.6655, allocations: 1.312 kB / 0.8251 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.6655, allocations: 3.906 kB / 0.8251 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.6656, allocations: 18.45 kB / 0.8251 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.6656, allocations: 8.109 kB / 0.8251 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/0.666, allocations: 65.44 kB / 0.8252 GB, free: 24.63 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.666, allocations: 24.45 kB / 0.8252 GB, free: 24.62 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.0001443/0.6662, allocations: 142.7 kB / 0.8254 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.6662, allocations: 17.73 kB / 0.8254 GB, free: 24.49 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.711e-05/0.6663, allocations: 18.31 kB / 0.8254 GB, free: 24.47 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.6663, allocations: 7.109 kB / 0.8254 GB, free: 24.47 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.6663, allocations: 5.125 kB / 0.8254 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.6663, allocations: 2.125 kB / 0.8254 GB, free: 24.46 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007206/0.667, allocations: 0.5839 MB / 0.826 GB, free: 24.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.667, allocations: 0 / 0.826 GB, free: 24.04 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.607e-05/0.6671, allocations: 16.94 kB / 0.826 GB, free: 24.03 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.6671, allocations: 5.344 kB / 0.826 GB, free: 24.02 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.6671, allocations: 5.453 kB / 0.826 GB, free: 24.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.6671, allocations: 2.062 kB / 0.826 GB, free: 24.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.6671, allocations: 1.5 kB / 0.826 GB, free: 24.02 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.6675, allocations: 422.1 kB / 0.8264 GB, free: 23.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.6675, allocations: 12.75 kB / 0.8264 GB, free: 23.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.6676, allocations: 14.44 kB / 0.8264 GB, free: 23.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.6677, allocations: 9 kB / 0.8264 GB, free: 23.73 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/0.6678, allocations: 27.38 kB / 0.8265 GB, free: 23.72 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.6678, allocations: 16.77 kB / 0.8265 GB, free: 23.72 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.201e-05/0.6678, allocations: 95.7 kB / 0.8266 GB, free: 23.64 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.6678, allocations: 1.156 kB / 0.8266 GB, free: 23.64 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003856/0.6682, allocations: 64.52 kB / 0.8266 GB, free: 23.62 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.0001763/0.6684, allocations: 107.7 kB / 0.8267 GB, free: 23.54 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005084/0.6689, allocations: 324.2 kB / 0.8271 GB, free: 23.34 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6689, allocations: 96 / 0.8271 GB, free: 23.34 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.6691, allocations: 90.47 kB / 0.8271 GB, free: 23.31 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.6695, allocations: 34.27 kB / 0.8272 GB, free: 23.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/0.6701, allocations: 275.5 kB / 0.8274 GB, free: 23.11 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.6703, allocations: 0.7041 MB / 0.8281 GB, free: 22.41 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.689e-05/0.6703, allocations: 19.84 kB / 0.8281 GB, free: 22.41 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.6704, allocations: 19.09 kB / 0.8282 GB, free: 22.4 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.6704, allocations: 0 / 0.8282 GB, free: 22.4 MB / 0.6387 GB Notification: Performance of Templates: time 0.008672/0.6791, allocations: 2.788 MB / 0.8309 GB, free: 22.16 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: 6.909275099635124] Failed to read output from testmodel.py, exit status != 0: 0.6884549874812365 0.701347727 0.039680416 Calling exit ...