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.001056/0.001056, allocations: 93.16 kB / 19.65 MB, free: 288 kB / 13.93 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.001192/0.001192, allocations: 172.9 kB / 23.02 MB, free: 1.559 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.9369/0.9369, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.7691/0.7691, allocations: 154.9 MB / 414.8 MB, free: 400 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.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 2.415e-06/2.415e-06, allocations: 0 / 0.5207 GB, free: 1.852 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.706e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.848 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001638/0.001665, allocations: 0.7303 MB / 0.5214 GB, free: 1.141 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.003023, allocations: 1.308 MB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.003084, allocations: 0.9688 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.21e-05/0.003116, allocations: 3.938 kB / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.482e-05/0.00321, allocations: 28.36 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005846/0.003795, allocations: 240.9 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.00405, allocations: 263.9 kB / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.358e-05/0.004143, allocations: 12.95 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.004307, allocations: 147.8 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.00444, allocations: 81.02 kB / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.004472, allocations: 20.56 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.712e-05/0.004539, allocations: 24 kB / 0.5235 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.00457, allocations: 33.73 kB / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.186e-05/0.004642, allocations: 63.88 kB / 0.5236 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.004835, allocations: 167.5 kB / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.004837, allocations: 4 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.12e-07/0.004838, allocations: 0 / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.004843, allocations: 1.719 kB / 0.5237 GB, free: 14.75 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005483/0.005391, allocations: 0.5113 MB / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.005428, allocations: 13.5 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.689e-05/0.005505, allocations: 28.83 kB / 0.5243 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.005718, allocations: 160.4 kB / 0.5244 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.005745, allocations: 16.36 kB / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.005771, allocations: 17.12 kB / 0.5244 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.005953, allocations: 142.2 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.005961, allocations: 1.656 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.005975, allocations: 4.375 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.005982, allocations: 4.375 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.507e-05/0.006057, allocations: 55.81 kB / 0.5246 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005326/0.00659, allocations: 0.5193 MB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002124/0.006802, allocations: 134 kB / 0.5253 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/0.006858, allocations: 51.34 kB / 0.5253 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.006865, allocations: 0 / 0.5253 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002379/0.007103, allocations: 210.9 kB / 0.5255 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.007104, allocations: 0.5 kB / 0.5255 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22): time 0.0003697/0.007474, allocations: 300.2 kB / 0.5258 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.007513, allocations: 85.62 kB / 0.5259 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.521e-05/0.007598, allocations: 190.4 kB / 0.5261 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.007625, allocations: 37.7 kB / 0.5261 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.007681, allocations: 144.4 kB / 0.5263 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.007718, allocations: 51.59 kB / 0.5263 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.923e-05/0.007797, allocations: 80.8 kB / 0.5264 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.007907, allocations: 0.5 MB / 0.5269 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.008043, allocations: 131.6 kB / 0.527 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.008187, allocations: 221 kB / 0.5272 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.008384, allocations: 261.1 kB / 0.5275 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.008386, allocations: 0 / 0.5275 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000368/0.008754, allocations: 406.5 kB / 0.5278 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.008795, allocations: 70.14 kB / 0.5279 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.008801, allocations: 4 kB / 0.5279 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.008815, allocations: 4 kB / 0.5279 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.899e-05/0.008894, allocations: 27.92 kB / 0.5279 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.008902, allocations: 7.938 kB / 0.528 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.009072, allocations: 60.73 kB / 0.528 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.009094, allocations: 12 kB / 0.528 GB, free: 9.957 MB / 0.4948 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.0001018/0.009195, allocations: 192.3 kB / 0.5282 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.009224, allocations: 31.92 kB / 0.5282 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.009257, allocations: 12.44 kB / 0.5282 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.009261, allocations: 4.594 kB / 0.5283 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.009266, allocations: 1.406 kB / 0.5283 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.00927, allocations: 3.984 kB / 0.5283 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.009664, allocations: 0.6254 MB / 0.5289 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.009666, allocations: 0 / 0.5289 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.009695, allocations: 10.38 kB / 0.5289 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.009699, allocations: 4 kB / 0.5289 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.009712, allocations: 11.98 kB / 0.5289 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.009714, allocations: 0 / 0.5289 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.009715, allocations: 0 / 0.5289 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.01001, allocations: 0.5066 MB / 0.5294 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.01002, allocations: 22.69 kB / 0.5294 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.01004, allocations: 4 kB / 0.5294 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.01012, allocations: 11.98 kB / 0.5294 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.01017, allocations: 23.95 kB / 0.5294 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.01019, allocations: 15.98 kB / 0.5295 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.503e-05/0.01024, allocations: 140.9 kB / 0.5296 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01024, allocations: 0 / 0.5296 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002312/0.01047, allocations: 55.89 kB / 0.5296 GB, free: 8.227 MB / 0.4948 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.0001338/0.01061, allocations: 111.2 kB / 0.5298 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003242/0.01093, allocations: 373.5 kB / 0.5301 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.01094, allocations: 0 / 0.5301 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.939e-05/0.01103, allocations: 91.56 kB / 0.5302 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.01128, allocations: 29.67 kB / 0.5302 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.01166, allocations: 277.3 kB / 0.5305 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.439e-05/0.0117, allocations: 71.94 kB / 0.5306 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.806e-05/0.01175, allocations: 20.95 kB / 0.5306 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.01179, allocations: 24.48 kB / 0.5306 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/0.01179, allocations: 0 / 0.5306 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of Templates: time 0.005606/0.01739, allocations: 3.066 MB / 0.5336 GB, free: 4.266 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.92287435894832]