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.001747/0.001747, allocations: 89.48 kB / 19.44 MB, free: 336 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.00196/0.00196, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.58/1.58, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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-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 1.41/1.41, allocations: 154.8 MB / 414.4 MB, free: 440 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 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: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.5199 GB, free: 2.266 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.172e-05/3.434e-05, allocations: 3.656 kB / 0.5199 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002338/0.002373, allocations: 0.7222 MB / 0.5206 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.004525, allocations: 1.285 MB / 0.5218 GB, free: 272 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.258e-05/0.004597, allocations: 1.219 kB / 0.5218 GB, free: 272 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.004633, allocations: 11.86 kB / 0.5218 GB, free: 260 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.004734, allocations: 19.8 kB / 0.5219 GB, free: 240 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007765/0.005511, allocations: 241.7 kB / 0.5221 GB, free: 16 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003731/0.005884, allocations: 255.4 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.006001, allocations: 21.92 kB / 0.5224 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003936/0.006394, allocations: 135.8 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.006586, allocations: 75.84 kB / 0.5226 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.314e-05/0.006649, allocations: 24 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.006758, allocations: 41.45 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.006802, allocations: 27.91 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.00695, allocations: 79.84 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.007349, allocations: 263.3 kB / 0.523 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.007353, allocations: 0.75 kB / 0.523 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.747e-06/0.007357, allocations: 3.984 kB / 0.523 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.007364, allocations: 1.469 kB / 0.523 GB, free: 15.09 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.0009329/0.008297, allocations: 0.5227 MB / 0.5235 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.008342, allocations: 11.97 kB / 0.5235 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.008466, allocations: 34.17 kB / 0.5235 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005965/0.009062, allocations: 181.3 kB / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.009097, allocations: 15.62 kB / 0.5237 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/0.009151, allocations: 24.36 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.009436, allocations: 148.5 kB / 0.5239 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.009447, allocations: 192 / 0.5239 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.009467, allocations: 8.359 kB / 0.5239 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.009474, allocations: 8.062 kB / 0.5239 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.009626, allocations: 63.95 kB / 0.524 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009382/0.01056, allocations: 0.5231 MB / 0.5245 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.01093, allocations: 170.9 kB / 0.5246 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.01105, allocations: 75.38 kB / 0.5247 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.01107, allocations: 1.469 kB / 0.5247 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004035/0.01147, allocations: 227.9 kB / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.01147, allocations: 1.25 kB / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22): time 0.0006954/0.01217, allocations: 333.3 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.01224, allocations: 85.11 kB / 0.5253 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.01242, allocations: 203.2 kB / 0.5255 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.191e-05/0.01247, allocations: 33.7 kB / 0.5256 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.01258, allocations: 147.4 kB / 0.5257 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.049e-05/0.01265, allocations: 59.73 kB / 0.5258 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.01282, allocations: 86.12 kB / 0.5258 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002757/0.01309, allocations: 0.5078 MB / 0.5263 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.01336, allocations: 155.6 kB / 0.5265 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/0.0137, allocations: 261 kB / 0.5267 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.01411, allocations: 286.1 kB / 0.527 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01412, allocations: 0 / 0.527 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007816/0.0149, allocations: 461 kB / 0.5274 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.076e-05/0.01497, allocations: 67.39 kB / 0.5275 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.01498, allocations: 4.969 kB / 0.5275 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.015, allocations: 0 / 0.5275 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.01511, allocations: 24.83 kB / 0.5275 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.01512, allocations: 4 kB / 0.5275 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.01545, allocations: 65.73 kB / 0.5276 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.853e-05/0.01549, allocations: 23.98 kB / 0.5276 GB, free: 9.945 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.0002117/0.01571, allocations: 196.8 kB / 0.5278 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.922e-05/0.01575, allocations: 23.94 kB / 0.5278 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.435e-05/0.01581, allocations: 20.42 kB / 0.5279 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.01581, allocations: 3.984 kB / 0.5279 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.01582, allocations: 4 kB / 0.5279 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.01583, allocations: 0 / 0.5279 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008686/0.0167, allocations: 0.6635 MB / 0.5285 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.0167, allocations: 4 kB / 0.5285 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.706e-05/0.01675, allocations: 7.984 kB / 0.5285 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.01676, allocations: 4 kB / 0.5285 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.01678, allocations: 4 kB / 0.5285 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.01678, allocations: 4 kB / 0.5285 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.01678, allocations: 3.984 kB / 0.5285 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006071/0.01739, allocations: 0.5347 MB / 0.5291 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.01742, allocations: 11.91 kB / 0.5291 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.01745, allocations: 13.17 kB / 0.5291 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.01762, allocations: 7.984 kB / 0.5291 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/0.0177, allocations: 27.92 kB / 0.5291 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.01773, allocations: 16 kB / 0.5291 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002436/0.01797, allocations: 140.2 kB / 0.5293 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01797, allocations: 0 / 0.5293 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003917/0.01836, allocations: 63.86 kB / 0.5293 GB, free: 8.141 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.0002288/0.01859, allocations: 111.2 kB / 0.5294 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006943/0.01928, allocations: 440.6 kB / 0.5299 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01929, allocations: 0 / 0.5299 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.01949, allocations: 114.1 kB / 0.53 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.01992, allocations: 35.47 kB / 0.53 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006587/0.02058, allocations: 296.6 kB / 0.5303 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.02068, allocations: 92.5 kB / 0.5304 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.593e-05/0.02075, allocations: 16.98 kB / 0.5304 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.0208, allocations: 20.5 kB / 0.5304 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.0208, allocations: 3.938 kB / 0.5304 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of Templates: time 0.007419/0.02822, allocations: 2.883 MB / 0.5332 GB, free: 4.223 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: 6.224979277933016]