Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.001389/0.001389, allocations: 88.72 kB / 19.44 MB, free: 356 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.001555/0.001555, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.517/1.517, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.25/1.25, allocations: 154.8 MB / 414.3 MB, free: 500 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.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.877e-06/3.877e-06, allocations: 0.875 kB / 0.5199 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.528e-05/4.915e-05, allocations: 4.562 kB / 0.5199 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.004028/0.004077, allocations: 0.6586 MB / 0.5205 GB, free: 1.648 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004104/0.008181, allocations: 1.351 MB / 0.5218 GB, free: 292 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.00831, allocations: 7.938 kB / 0.5218 GB, free: 284 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009868/0.009297, allocations: 186.2 kB / 0.522 GB, free: 100 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003801/0.009677, allocations: 105 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.01123, allocations: 247.1 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001187/0.01241, allocations: 487.7 kB / 0.5228 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.264e-05/0.01248, allocations: 5.562 kB / 0.5228 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007362/0.01321, allocations: 251.7 kB / 0.5231 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007339/0.01395, allocations: 220.4 kB / 0.5233 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.01411, allocations: 21.47 kB / 0.5233 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004607/0.01457, allocations: 91.84 kB / 0.5234 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0007874/0.01536, allocations: 283.4 kB / 0.5236 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003481/0.01571, allocations: 111.8 kB / 0.5237 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.017, allocations: 0.5349 MB / 0.5243 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.01701, allocations: 0 / 0.5243 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.433e-06/0.01701, allocations: 0 / 0.5243 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.01702, allocations: 0 / 0.5243 GB, free: 13.79 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.002002/0.01903, allocations: 0.5707 MB / 0.5248 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.01908, allocations: 8.031 kB / 0.5248 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002855/0.01936, allocations: 32.8 kB / 0.5249 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.02039, allocations: 325.7 kB / 0.5252 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/0.02044, allocations: 12.38 kB / 0.5252 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.02058, allocations: 24.36 kB / 0.5252 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006318/0.02121, allocations: 188.6 kB / 0.5254 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.02122, allocations: 192 / 0.5254 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.02125, allocations: 4.375 kB / 0.5254 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.02126, allocations: 0.9375 kB / 0.5254 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003699/0.02163, allocations: 120.4 kB / 0.5255 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007833/0.02241, allocations: 274.9 kB / 0.5258 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.02346, allocations: 317 kB / 0.5261 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004095/0.02387, allocations: 118.6 kB / 0.5262 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.02388, allocations: 1.469 kB / 0.5262 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000978/0.02486, allocations: 285.2 kB / 0.5265 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 2.324e-06/0.02486, allocations: 0 / 0.5265 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.001861/0.02672, allocations: 0.5022 MB / 0.527 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001726/0.0269, allocations: 110.8 kB / 0.5271 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009475/0.02784, allocations: 404.4 kB / 0.5274 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.02796, allocations: 40.61 kB / 0.5275 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.02825, allocations: 156.8 kB / 0.5276 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.02835, allocations: 47.67 kB / 0.5277 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003588/0.02871, allocations: 113.6 kB / 0.5278 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003155/0.02903, allocations: 346.8 kB / 0.5281 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.0293, allocations: 83.95 kB / 0.5282 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.03111, allocations: 1.087 MB / 0.5293 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007141/0.03182, allocations: 254.2 kB / 0.5295 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.03183, allocations: 0 / 0.5295 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009754/0.0328, allocations: 346 kB / 0.5298 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.03283, allocations: 4 kB / 0.5298 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.03284, allocations: 4 kB / 0.5298 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.867e-05/0.03287, allocations: 4 kB / 0.5298 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.03311, allocations: 43.84 kB / 0.5299 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.03313, allocations: 8.562 kB / 0.5299 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.0343, allocations: 66.41 kB / 0.53 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.03434, allocations: 16 kB / 0.53 GB, free: 7.414 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * 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.0004148/0.03476, allocations: 194.5 kB / 0.5302 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.03489, allocations: 31.81 kB / 0.5302 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.035, allocations: 33.95 kB / 0.5302 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.03501, allocations: 7.984 kB / 0.5302 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.03501, allocations: 0 / 0.5302 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.03503, allocations: 3.938 kB / 0.5302 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/0.03549, allocations: 205.2 kB / 0.5304 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.03549, allocations: 3.719 kB / 0.5304 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.03553, allocations: 7.938 kB / 0.5304 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/0.03554, allocations: 4 kB / 0.5304 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.03557, allocations: 11.98 kB / 0.5305 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.03558, allocations: 3.938 kB / 0.5305 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.03558, allocations: 0 / 0.5305 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.03671, allocations: 434.4 kB / 0.5309 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-05/0.0368, allocations: 31.78 kB / 0.5309 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.857e-05/0.03686, allocations: 7.938 kB / 0.5309 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.03699, allocations: 7.312 kB / 0.5309 GB, free: 6.391 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.361e-05/0.03707, allocations: 19.91 kB / 0.5309 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/0.03712, allocations: 16 kB / 0.531 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005676/0.03769, allocations: 287 kB / 0.5312 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.03769, allocations: 0 / 0.5312 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006387/0.03833, allocations: 79.92 kB / 0.5313 GB, free: 5.996 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * 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.0003536/0.03868, allocations: 140.6 kB / 0.5314 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006877/0.03937, allocations: 249 kB / 0.5317 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.03937, allocations: 0 / 0.5317 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003012/0.03967, allocations: 124.6 kB / 0.5318 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.04008, allocations: 33.56 kB / 0.5318 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.04144, allocations: 0.5779 MB / 0.5324 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.04168, allocations: 154.6 kB / 0.5325 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001847/0.04186, allocations: 52 kB / 0.5326 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.04197, allocations: 29.03 kB / 0.5326 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of SimCode: time 9.21e-07/0.04197, allocations: 0.9375 kB / 0.5326 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of Templates: time 0.0123/0.05427, allocations: 5.418 MB / 0.5379 GB, free: 15.41 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.051466202014126]