Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.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.0009548/0.0009548, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.002299, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007183/0.0007183, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009752/0.001693, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.055/1.055, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09749/1.153, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7462/0.7462, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2869/1.033, allocations: 49.13 MB / 448.6 MB, free: 5.902 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 450 MB, free: 4.582 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.283e-05, allocations: 3.438 kB / 450 MB, free: 4.578 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002316/0.002339, allocations: 0.8573 MB / 450.8 MB, free: 3.762 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.004009, allocations: 1.346 MB / 452.2 MB, free: 2.402 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.004071, allocations: 0 / 452.2 MB, free: 2.402 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.004106, allocations: 11.86 kB / 452.2 MB, free: 2.391 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.685e-05/0.004183, allocations: 32.08 kB / 452.2 MB, free: 2.367 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007224/0.004905, allocations: 301.8 kB / 452.5 MB, free: 2.074 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.005329, allocations: 299.2 kB / 452.8 MB, free: 1.809 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.005432, allocations: 28 kB / 452.8 MB, free: 1.777 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.005695, allocations: 177.4 kB / 453 MB, free: 1.605 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.005817, allocations: 87.73 kB / 453.1 MB, free: 1.52 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.005854, allocations: 24 kB / 453.1 MB, free: 1.496 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.12e-05/0.005936, allocations: 35.98 kB / 453.1 MB, free: 1.461 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.567e-05/0.005961, allocations: 21.94 kB / 453.2 MB, free: 1.441 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.199e-05/0.006023, allocations: 59.92 kB / 453.2 MB, free: 1.383 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.006219, allocations: 179.5 kB / 453.4 MB, free: 1.207 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.006229, allocations: 0 / 453.4 MB, free: 1.207 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.00623, allocations: 0 / 453.4 MB, free: 1.207 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.006238, allocations: 2.125 kB / 453.4 MB, free: 1.207 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000501/0.006739, allocations: 467.1 kB / 453.9 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.006767, allocations: 8.031 kB / 453.9 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.006818, allocations: 28.91 kB / 453.9 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.006974, allocations: 152.3 kB / 454 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.006995, allocations: 16.38 kB / 454.1 MB, free: 500 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.007021, allocations: 17.03 kB / 454.1 MB, free: 484 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.007121, allocations: 86.28 kB / 454.2 MB, free: 388 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.007128, allocations: 1.969 kB / 454.2 MB, free: 388 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.007136, allocations: 4 kB / 454.2 MB, free: 384 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.007142, allocations: 4 kB / 454.2 MB, free: 380 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.02e-05/0.007172, allocations: 19.98 kB / 454.2 MB, free: 360 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.00752, allocations: 262 kB / 454.4 MB, free: 84 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.007646, allocations: 48 kB / 454.5 MB, free: 28 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.928e-05/0.007665, allocations: 16.84 kB / 454.5 MB, free: 8 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-06/0.007671, allocations: 0 / 454.5 MB, free: 8 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.007787, allocations: 99.94 kB / 454.6 MB, free: 15.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.007788, allocations: 1.5 kB / 454.6 MB, free: 15.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001476/0.007935, allocations: 110 kB / 454.7 MB, free: 15.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.007963, allocations: 59.41 kB / 454.8 MB, free: 15.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.594e-05/0.008039, allocations: 161.2 kB / 454.9 MB, free: 15.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.008066, allocations: 39.8 kB / 455 MB, free: 15.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.008117, allocations: 112.5 kB / 455.1 MB, free: 15.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.008134, allocations: 23.8 kB / 455.1 MB, free: 15.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.008275, allocations: 77.62 kB / 455.2 MB, free: 15.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.036e-05/0.008345, allocations: 326.8 kB / 455.5 MB, free: 14.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.008452, allocations: 146 kB / 455.6 MB, free: 14.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.008561, allocations: 203 kB / 455.8 MB, free: 14.56 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.008693, allocations: 224.8 kB / 456.1 MB, free: 14.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.008697, allocations: 4.906 kB / 456.1 MB, free: 14.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000255/0.008952, allocations: 389.2 kB / 456.4 MB, free: 13.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/0.009003, allocations: 93.72 kB / 456.5 MB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.009009, allocations: 9.297 kB / 456.5 MB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.009023, allocations: 3.938 kB / 456.5 MB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.269e-05/0.009066, allocations: 15.94 kB / 456.6 MB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.009069, allocations: 4 kB / 456.6 MB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.00924, allocations: 65.7 kB / 456.6 MB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.009262, allocations: 21.05 kB / 456.6 MB, free: 13.65 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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 7.045e-05/0.009333, allocations: 125.8 kB / 456.8 MB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.009351, allocations: 16.7 kB / 456.8 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.009374, allocations: 9.688 kB / 456.8 MB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.009377, allocations: 7.938 kB / 456.8 MB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.009379, allocations: 0 / 456.8 MB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.009383, allocations: 4.578 kB / 456.8 MB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.009533, allocations: 101.8 kB / 456.9 MB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.009534, allocations: 5.375 kB / 456.9 MB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.671e-05/0.009561, allocations: 15.98 kB / 456.9 MB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.009569, allocations: 7.953 kB / 456.9 MB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.009572, allocations: 5.953 kB / 456.9 MB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.009577, allocations: 0 / 456.9 MB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.009579, allocations: 1.438 kB / 456.9 MB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.00958, allocations: 3.938 kB / 456.9 MB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.486e-05/0.009675, allocations: 117 kB / 457.1 MB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-06/0.009684, allocations: 0 / 457.1 MB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.854e-05/0.009703, allocations: 8.844 kB / 457.1 MB, free: 13.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.009725, allocations: 3.984 kB / 457.1 MB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.009733, allocations: 11.92 kB / 457.1 MB, free: 13.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.379e-05/0.009757, allocations: 35.55 kB / 457.1 MB, free: 13.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009757, allocations: 0.9062 kB / 457.1 MB, free: 13.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001429/0.0099, allocations: 51.95 kB / 457.2 MB, free: 13.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001116/0.01001, allocations: 85.53 kB / 457.3 MB, free: 13 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002486/0.01026, allocations: 405.2 kB / 457.6 MB, free: 12.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.01026, allocations: 0.6562 kB / 457.6 MB, free: 12.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.75e-05/0.0103, allocations: 43.03 kB / 457.7 MB, free: 12.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.01049, allocations: 201.7 kB / 457.9 MB, free: 12.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.01093, allocations: 240.4 kB / 458.1 MB, free: 12.01 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.069e-05/0.01096, allocations: 67.2 kB / 458.2 MB, free: 11.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.836e-05/0.01099, allocations: 14.19 kB / 458.2 MB, free: 11.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.01112, allocations: 99.33 kB / 458.3 MB, free: 11.82 MB / 442.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01112, allocations: 0.7188 kB / 458.3 MB, free: 11.82 MB / 442.7 MB Notification: Performance of Templates: time 0.004484/0.0156, allocations: 3.313 MB / 461.6 MB, free: 8.746 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6314356615766883]