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.0007799/0.0007799, allocations: 93.06 kB / 19.65 MB, free: 280 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.001006/0.001006, allocations: 165.3 kB / 23.02 MB, free: 1.551 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.948/0.948, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.8593/0.8593, allocations: 154.8 MB / 414.7 MB, free: 452 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.264e-06/2.264e-06, allocations: 0 / 0.5206 GB, free: 1.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.568e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001884/0.001909, allocations: 0.7207 MB / 0.5213 GB, free: 1.211 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.004, allocations: 1.312 MB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.353e-05/0.004074, allocations: 0 / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.263e-05/0.004117, allocations: 5.75 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.004217, allocations: 23.78 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007119/0.004929, allocations: 245 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.005254, allocations: 251.5 kB / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.005376, allocations: 20.95 kB / 0.5231 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.005593, allocations: 135.8 kB / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.005785, allocations: 85.12 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.388e-05/0.005849, allocations: 24 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.005953, allocations: 36 kB / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.006008, allocations: 31.89 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.006134, allocations: 81.19 kB / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.00645, allocations: 195.5 kB / 0.5236 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.006452, allocations: 0 / 0.5236 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.006453, allocations: 1.844 kB / 0.5237 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.006459, allocations: 0 / 0.5237 GB, free: 14.78 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.000763/0.007222, allocations: 0.5113 MB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.007266, allocations: 8.031 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.549e-05/0.007362, allocations: 31.03 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004842/0.007846, allocations: 188.6 kB / 0.5244 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.007878, allocations: 16.38 kB / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.007923, allocations: 20.92 kB / 0.5244 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.008164, allocations: 142.2 kB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.008177, allocations: 1.188 kB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.008192, allocations: 384 / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.008204, allocations: 8.781 kB / 0.5245 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.008305, allocations: 55.83 kB / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007086/0.009014, allocations: 0.5201 MB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.009269, allocations: 139.7 kB / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.549e-05/0.009354, allocations: 51.34 kB / 0.5253 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.009364, allocations: 0 / 0.5253 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003277/0.009692, allocations: 211.2 kB / 0.5255 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.009693, allocations: 0 / 0.5255 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22): time 0.0005456/0.01024, allocations: 293.7 kB / 0.5258 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.0103, allocations: 89.03 kB / 0.5259 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.01042, allocations: 189.9 kB / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.01047, allocations: 38.39 kB / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.01055, allocations: 139.4 kB / 0.5262 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/0.01061, allocations: 56.64 kB / 0.5263 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.01074, allocations: 87.27 kB / 0.5263 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.0109, allocations: 0.4954 MB / 0.5268 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.0111, allocations: 135.6 kB / 0.527 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.01134, allocations: 217.1 kB / 0.5272 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.01164, allocations: 262.4 kB / 0.5274 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.01164, allocations: 0 / 0.5274 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004512/0.0121, allocations: 408.1 kB / 0.5278 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.01214, allocations: 63.39 kB / 0.5279 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.01215, allocations: 8 kB / 0.5279 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.01217, allocations: 5.5 kB / 0.5279 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.01224, allocations: 27.92 kB / 0.5279 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.01225, allocations: 0 / 0.5279 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.01241, allocations: 63.08 kB / 0.528 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.01244, allocations: 12 kB / 0.528 GB, free: 9.953 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.0001167/0.01255, allocations: 194.4 kB / 0.5282 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.01258, allocations: 23.94 kB / 0.5282 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.01263, allocations: 12.44 kB / 0.5282 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.01263, allocations: 6.438 kB / 0.5282 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.01264, allocations: 3.938 kB / 0.5282 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.01264, allocations: 3.984 kB / 0.5282 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.01306, allocations: 0.6254 MB / 0.5288 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01306, allocations: 0 / 0.5288 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.681e-05/0.01309, allocations: 11.94 kB / 0.5288 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01309, allocations: 1.469 kB / 0.5288 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.01311, allocations: 11.98 kB / 0.5288 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01311, allocations: 0 / 0.5288 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01311, allocations: 0 / 0.5288 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.01339, allocations: 0.5097 MB / 0.5293 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.01341, allocations: 19.83 kB / 0.5294 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.01343, allocations: 8 kB / 0.5294 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.0135, allocations: 9.109 kB / 0.5294 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.01356, allocations: 27.89 kB / 0.5294 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.01358, allocations: 21.39 kB / 0.5294 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.439e-05/0.01362, allocations: 136.2 kB / 0.5296 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01362, allocations: 0 / 0.5296 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002262/0.01385, allocations: 59.92 kB / 0.5296 GB, free: 8.215 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.000135/0.01398, allocations: 112.5 kB / 0.5297 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003274/0.01431, allocations: 370.9 kB / 0.5301 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01431, allocations: 1.5 kB / 0.5301 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.636e-05/0.0144, allocations: 83.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.0002955/0.01469, allocations: 37.31 kB / 0.5302 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004448/0.01514, allocations: 276.9 kB / 0.5305 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.562e-05/0.01519, allocations: 68 kB / 0.5305 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.04e-05/0.01524, allocations: 16.61 kB / 0.5305 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.01529, allocations: 20.5 kB / 0.5306 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.01529, allocations: 1.406 kB / 0.5306 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of Templates: time 0.005253/0.02054, allocations: 2.902 MB / 0.5334 GB, free: 4.418 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: 4.017130329739302]