Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.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.001064/0.001064, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009627/0.0009627, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.963/0.963, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.06692/0.06692, allocations: 12.75 MB / 273.8 MB, free: 144 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/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(Bodylight.Types.Examples.IO_Bus.Variables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Types.Examples.IO_Bus.Variables") translateModel(Bodylight.Types.Examples.IO_Bus.Variables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Types.Examples.IO_Bus.Variables") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 347.2 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.991e-05, allocations: 8.641 kB / 347.2 MB, free: 1.715 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.IO_Bus.Variables): time 0.003854/0.003884, allocations: 2.427 MB / 349.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001287/0.004013, allocations: 51.64 kB / 349.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.004114, allocations: 4 kB / 349.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.004354, allocations: 51.64 kB / 349.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.094e-05/0.004435, allocations: 23.73 kB / 349.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.351e-05/0.004469, allocations: 7.984 kB / 349.8 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002394/0.006863, allocations: 2.131 MB / 351.9 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008241/0.007687, allocations: 403.6 kB / 352.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007939/0.008481, allocations: 0.9675 MB / 353.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004698/0.008951, allocations: 0.5074 MB / 353.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.009092, allocations: 0 / 353.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.009231, allocations: 7.938 kB / 353.8 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.00949, allocations: 351.7 kB / 354.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004572/0.009947, allocations: 0.5074 MB / 354.6 MB, free: 10.24 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.01228, allocations: 3.72 MB / 358.3 MB, free: 6.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.01229, allocations: 0 / 358.3 MB, free: 6.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01229, allocations: 0 / 358.3 MB, free: 6.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.26e-05/0.01233, allocations: 0 / 358.3 MB, free: 6.5 MB / 282.7 MB 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.004256/0.01659, allocations: 7.139 MB / 365.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.01662, allocations: 19.92 kB / 365.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004181/0.01704, allocations: 0.7264 MB / 366.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.01831, allocations: 2.426 MB / 368.6 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.01832, allocations: 384 / 368.6 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.662e-06/0.01832, allocations: 4.375 kB / 368.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.12e-05/0.01841, allocations: 84.92 kB / 368.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.01841, allocations: 192 / 368.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.01842, allocations: 8.375 kB / 368.7 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.01843, allocations: 3.938 kB / 368.7 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.456e-05/0.01844, allocations: 15.92 kB / 368.8 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.02029, allocations: 2.538 MB / 371.3 MB, free: 9.336 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.198e-05/0.02036, allocations: 265.4 kB / 371.6 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.648e-05/0.02038, allocations: 126.9 kB / 371.7 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.02041, allocations: 123.2 kB / 371.8 MB, free: 8.812 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.02045, allocations: 156.6 kB / 372 MB, free: 8.648 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.02045, allocations: 0 / 372 MB, free: 8.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003709/0.02082, allocations: 0.7544 MB / 372.7 MB, free: 7.883 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.02087, allocations: 174.6 kB / 372.9 MB, free: 7.699 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005018/0.02588, allocations: 7.352 MB / 380.2 MB, free: 408 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.02589, allocations: 25.7 kB / 380.3 MB, free: 376 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00265/0.02854, allocations: 3.792 MB / 384 MB, free: 12.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/0.02854, allocations: 0 / 384 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.02858, allocations: 23.38 kB / 384.1 MB, free: 12.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.02868, allocations: 488.4 kB / 384.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.211e-06/0.02868, allocations: 0 / 384.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.237e-05/0.0287, allocations: 46.73 kB / 384.6 MB, free: 11.99 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.208e-05/0.02875, allocations: 42.69 kB / 384.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.02875, allocations: 3.938 kB / 384.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004875/0.02924, allocations: 0.7739 MB / 385.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.02925, allocations: 4 kB / 385.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.02926, allocations: 8.125 kB / 385.4 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.02927, allocations: 0 / 385.4 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.496e-05/0.02933, allocations: 8 kB / 385.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.02933, allocations: 7.984 kB / 385.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.02955, allocations: 3.953 kB / 385.4 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.02955, allocations: 4 kB / 385.4 MB, free: 11.11 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.000412/0.02996, allocations: 279.6 kB / 385.7 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003603/0.03032, allocations: 0.8709 MB / 386.6 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004673/0.03079, allocations: 0.7169 MB / 387.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.331e-05/0.03085, allocations: 268.1 kB / 387.6 MB, free: 8.945 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.646e-05/0.0309, allocations: 272 kB / 387.8 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.033e-05/0.03096, allocations: 268.1 kB / 388.1 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.03255, allocations: 2.36 MB / 390.5 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-05/0.03259, allocations: 148.9 kB / 390.6 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.563e-05/0.03262, allocations: 156.9 kB / 390.8 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.455e-05/0.03268, allocations: 276 kB / 391 MB, free: 5.418 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003495/0.03302, allocations: 264.1 kB / 391.3 MB, free: 5.152 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.227e-05/0.03308, allocations: 268 kB / 391.5 MB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.398e-05/0.03313, allocations: 268.1 kB / 391.8 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005179/0.03365, allocations: 1.228 MB / 393 MB, free: 3.355 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.03404, allocations: 0.7185 MB / 393.8 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.03423, allocations: 276 kB / 394 MB, free: 2.348 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.03448, allocations: 148.9 kB / 394.2 MB, free: 2.195 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.03453, allocations: 268 kB / 394.4 MB, free: 1.926 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.03456, allocations: 149 kB / 394.6 MB, free: 1.773 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002674/0.03724, allocations: 3.618 MB / 398.2 MB, free: 14.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.03724, allocations: 0 / 398.2 MB, free: 14.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003043/0.03754, allocations: 192 kB / 398.4 MB, free: 14.02 MB / 330.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003863/0.03793, allocations: 210.4 kB / 398.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.416e-05/0.03798, allocations: 23.78 kB / 398.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.03799, allocations: 4.062 kB / 398.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.51e-07/0.03799, allocations: 0 / 398.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/0.0407, allocations: 1.948 MB / 400.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008401/0.0491, allocations: 8.672 MB / 409.2 MB, free: 3.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1095/0.1586, allocations: 3.14 MB / 412.4 MB, free: 62.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/0.1598, allocations: 485.9 kB / 412.9 MB, free: 62.58 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.1598, allocations: 0 / 412.9 MB, free: 62.58 MB / 330.7 MB Notification: Performance of Templates: time 0.0525/0.2123, allocations: 52.21 MB / 465.1 MB, free: 19.95 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.pipe ; mkfifo Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.pipe ; head -c 1048576 < Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.pipe >> ../files/Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.sim & ./Bodylight_Bodylight.Types.Examples.IO_Bus.Variables > Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.66143747093156]