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.0007163/0.0007163, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009371/0.001653, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007135/0.0007135, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000907/0.001621, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9749/0.9749, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1096/1.085, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7552/0.7552, allocations: 155.3 MB / 399.2 MB, free: 15.95 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.2789/1.034, allocations: 49.14 MB / 448.4 MB, free: 6.031 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.473e-06/1.473e-06, allocations: 0 / 449.7 MB, free: 4.738 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126e-05/1.273e-05, allocations: 6.469 kB / 449.7 MB, free: 4.734 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001254/0.001266, allocations: 0.8481 MB / 450.5 MB, free: 3.926 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.002456, allocations: 1.344 MB / 451.9 MB, free: 2.566 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.855e-05/0.002504, allocations: 1.812 kB / 451.9 MB, free: 2.566 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.008e-05/0.002534, allocations: 11.81 kB / 451.9 MB, free: 2.555 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.475e-05/0.002589, allocations: 31.58 kB / 451.9 MB, free: 2.531 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.003066, allocations: 298.5 kB / 452.2 MB, free: 2.242 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.003337, allocations: 296.3 kB / 452.5 MB, free: 1.973 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.003445, allocations: 31.98 kB / 452.5 MB, free: 1.938 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.003635, allocations: 181.4 kB / 452.7 MB, free: 1.762 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.003789, allocations: 91.72 kB / 452.8 MB, free: 1.672 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.289e-05/0.003832, allocations: 24 kB / 452.8 MB, free: 1.648 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.923e-05/0.003932, allocations: 35.98 kB / 452.9 MB, free: 1.613 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.00396, allocations: 19.94 kB / 452.9 MB, free: 1.594 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 7.39e-05/0.004034, allocations: 60.75 kB / 453 MB, free: 1.535 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.004271, allocations: 175.5 kB / 453.1 MB, free: 1.363 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.878e-05/0.00429, allocations: 1.281 kB / 453.1 MB, free: 1.363 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004291, allocations: 0 / 453.1 MB, free: 1.363 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.004311, allocations: 0 / 453.1 MB, free: 1.363 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.0005662/0.004877, allocations: 467.2 kB / 453.6 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.004905, allocations: 8.688 kB / 453.6 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/0.004953, allocations: 24.91 kB / 453.6 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.005429, allocations: 147.5 kB / 453.8 MB, free: 0.668 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.005453, allocations: 16.38 kB / 453.8 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.00548, allocations: 24.36 kB / 453.8 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.005589, allocations: 82.91 kB / 453.9 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.005598, allocations: 0 / 453.9 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.005608, allocations: 4.5 kB / 453.9 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.005613, allocations: 1.688 kB / 453.9 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.42e-05/0.005648, allocations: 26.16 kB / 453.9 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.005992, allocations: 257.4 kB / 454.2 MB, free: 252 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.006123, allocations: 54.47 kB / 454.2 MB, free: 188 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.006142, allocations: 14.3 kB / 454.2 MB, free: 172 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.006149, allocations: 0 / 454.2 MB, free: 172 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/0.006257, allocations: 97.19 kB / 454.3 MB, free: 64 kB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.006258, allocations: 2.578 kB / 454.3 MB, free: 64 kB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001649/0.006423, allocations: 113.6 kB / 454.4 MB, free: 15.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.006455, allocations: 60.55 kB / 454.5 MB, free: 15.87 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.773e-05/0.006532, allocations: 164.8 kB / 454.7 MB, free: 15.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.006557, allocations: 29.7 kB / 454.7 MB, free: 15.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/0.006603, allocations: 109.2 kB / 454.8 MB, free: 15.56 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.006622, allocations: 31.78 kB / 454.8 MB, free: 15.53 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/0.006703, allocations: 70.27 kB / 454.9 MB, free: 15.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.209e-05/0.006776, allocations: 325.8 kB / 455.2 MB, free: 15.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.006876, allocations: 153 kB / 455.4 MB, free: 14.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.006989, allocations: 195.1 kB / 455.6 MB, free: 14.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.007133, allocations: 233.1 kB / 455.8 MB, free: 14.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.007135, allocations: 0 / 455.8 MB, free: 14.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002573/0.007392, allocations: 397.4 kB / 456.2 MB, free: 14.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.493e-05/0.007447, allocations: 102.5 kB / 456.3 MB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.007453, allocations: 4 kB / 456.3 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.007463, allocations: 4.562 kB / 456.3 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.092e-05/0.007504, allocations: 12.56 kB / 456.3 MB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.00751, allocations: 7.984 kB / 456.3 MB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.007686, allocations: 57.66 kB / 456.4 MB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.007708, allocations: 20.58 kB / 456.4 MB, free: 13.82 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 8.009e-05/0.007788, allocations: 130.6 kB / 456.5 MB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.007801, allocations: 12 kB / 456.5 MB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.007828, allocations: 13.3 kB / 456.5 MB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.007832, allocations: 9.625 kB / 456.5 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.007835, allocations: 4 kB / 456.5 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.007838, allocations: 0 / 456.5 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.108e-05/0.007919, allocations: 101.8 kB / 456.6 MB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.00792, allocations: 0 / 456.6 MB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.646e-05/0.007947, allocations: 8.906 kB / 456.6 MB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-06/0.007955, allocations: 11.89 kB / 456.7 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.007956, allocations: 4.5 kB / 456.7 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.007962, allocations: 4.484 kB / 456.7 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.007963, allocations: 0 / 456.7 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.007965, allocations: 4.562 kB / 456.7 MB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.97e-05/0.008055, allocations: 111.7 kB / 456.8 MB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.008065, allocations: 0 / 456.8 MB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.651e-05/0.008082, allocations: 7.984 kB / 456.8 MB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.008106, allocations: 9.203 kB / 456.8 MB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.008113, allocations: 11.94 kB / 456.8 MB, free: 13.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.081e-05/0.008134, allocations: 27.08 kB / 456.8 MB, free: 13.31 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008134, allocations: 4 kB / 456.8 MB, free: 13.31 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001546/0.008289, allocations: 57.12 kB / 456.9 MB, free: 13.25 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 9.397e-05/0.008383, allocations: 93.27 kB / 457 MB, free: 13.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.008647, allocations: 393.1 kB / 457.4 MB, free: 12.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.008654, allocations: 4 kB / 457.4 MB, free: 12.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.008691, allocations: 48.75 kB / 457.4 MB, free: 12.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.008822, allocations: 37.12 kB / 457.5 MB, free: 12.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.0093, allocations: 236.5 kB / 457.7 MB, free: 12.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.529e-05/0.009336, allocations: 67.2 kB / 457.8 MB, free: 12.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.97e-05/0.009365, allocations: 15.39 kB / 457.8 MB, free: 12.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.009495, allocations: 100.1 kB / 457.9 MB, free: 12.18 MB / 442.7 MB Notification: Performance of SimCode: time 7.82e-07/0.009496, allocations: 0 / 457.9 MB, free: 12.18 MB / 442.7 MB Notification: Performance of Templates: time 0.004753/0.01425, allocations: 3.372 MB / 461.2 MB, free: 9.059 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.6656579663977027]