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.001233/0.001233, allocations: 73.09 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.001393/0.001393, allocations: 169 kB / 24.06 MB, free: 456 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.9751/0.9751, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.1092/0.1092, allocations: 12.76 MB / 273.8 MB, free: 112 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 3.236e-06/3.236e-06, allocations: 0 / 348 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/3.05e-05, allocations: 5.125 kB / 348 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.IO_Bus.Variables): time 0.004222/0.004253, allocations: 2.425 MB / 350.4 MB, free: 14.42 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001504/0.004403, allocations: 55.62 kB / 350.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.004512, allocations: 8 kB / 350.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.004728, allocations: 43.61 kB / 350.5 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.887e-05/0.004807, allocations: 31.72 kB / 350.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.43e-05/0.004841, allocations: 8 kB / 350.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002281/0.007122, allocations: 2.128 MB / 352.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008426/0.007965, allocations: 403.5 kB / 353.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000745/0.00871, allocations: 0.9636 MB / 354.1 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000384/0.009094, allocations: 0.5113 MB / 354.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.27e-05/0.009157, allocations: 0 / 354.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.082e-05/0.009217, allocations: 4 kB / 354.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.009405, allocations: 355.7 kB / 354.9 MB, free: 9.895 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003554/0.009761, allocations: 0.5035 MB / 355.4 MB, free: 9.387 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.01174, allocations: 3.72 MB / 359.2 MB, free: 5.648 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.01175, allocations: 0 / 359.2 MB, free: 5.648 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01175, allocations: 0 / 359.2 MB, free: 5.648 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.048e-05/0.01179, allocations: 3.938 kB / 359.2 MB, free: 5.645 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.004392/0.01618, allocations: 7.14 MB / 366.3 MB, free: 14.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.01622, allocations: 15.98 kB / 366.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004218/0.01664, allocations: 0.7264 MB / 367 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/0.01851, allocations: 2.422 MB / 369.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.01852, allocations: 4.375 kB / 369.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.01853, allocations: 4.375 kB / 369.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.291e-05/0.01861, allocations: 80.92 kB / 369.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.01862, allocations: 4.188 kB / 369.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.01863, allocations: 384 / 369.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.01863, allocations: 3.938 kB / 369.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.66e-05/0.01865, allocations: 19.92 kB / 369.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.02032, allocations: 2.53 MB / 372.1 MB, free: 8.492 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.109e-05/0.02042, allocations: 277.3 kB / 372.4 MB, free: 8.207 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.02045, allocations: 126.9 kB / 372.5 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.02047, allocations: 119.2 kB / 372.6 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.02051, allocations: 152.6 kB / 372.8 MB, free: 7.801 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 2.344e-06/0.02052, allocations: 3.984 kB / 372.8 MB, free: 7.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 0.0004558/0.02097, allocations: 0.7622 MB / 373.5 MB, free: 7.023 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.675e-05/0.02104, allocations: 170.6 kB / 373.7 MB, free: 6.844 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006007/0.02705, allocations: 7.348 MB / 381 MB, free: 15.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.02705, allocations: 37.69 kB / 381.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00264/0.02969, allocations: 3.788 MB / 384.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.609e-06/0.0297, allocations: 0 / 384.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.02974, allocations: 23.38 kB / 384.9 MB, free: 11.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.02984, allocations: 488.4 kB / 385.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.02985, allocations: 4 kB / 385.4 MB, free: 11.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.02988, allocations: 38.73 kB / 385.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.808e-05/0.02993, allocations: 42.69 kB / 385.5 MB, free: 11.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.02994, allocations: 3.938 kB / 385.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0007019/0.03064, allocations: 0.774 MB / 386.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.03066, allocations: 6.5 kB / 386.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.03067, allocations: 4 kB / 386.2 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.03068, allocations: 0 / 386.2 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.612e-05/0.03073, allocations: 11.94 kB / 386.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.03074, allocations: 0 / 386.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/0.03113, allocations: 7.891 kB / 386.3 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.03114, allocations: 8.125 kB / 386.3 MB, free: 10.25 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.0005169/0.03166, allocations: 279.7 kB / 386.5 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004627/0.03212, allocations: 0.8709 MB / 387.4 MB, free: 9.086 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005297/0.03265, allocations: 0.7169 MB / 388.1 MB, free: 8.359 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-05/0.03272, allocations: 268.1 kB / 388.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.41e-05/0.03278, allocations: 268 kB / 388.7 MB, free: 7.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.736e-05/0.03285, allocations: 272.2 kB / 388.9 MB, free: 7.547 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.03509, allocations: 2.368 MB / 391.3 MB, free: 5.145 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.398e-05/0.03512, allocations: 148.9 kB / 391.4 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.03515, allocations: 148.9 kB / 391.6 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.423e-05/0.03522, allocations: 276 kB / 391.8 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-05/0.03528, allocations: 264.1 kB / 392.1 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.978e-05/0.03534, allocations: 276 kB / 392.4 MB, free: 4.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.527e-05/0.03539, allocations: 268.1 kB / 392.6 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006922/0.03609, allocations: 1.22 MB / 393.9 MB, free: 2.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006613/0.03675, allocations: 0.7224 MB / 394.6 MB, free: 1.766 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002804/0.03703, allocations: 268 kB / 394.8 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.03733, allocations: 144.9 kB / 395 MB, free: 1.348 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.995e-05/0.03741, allocations: 272.1 kB / 395.2 MB, free: 1.074 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/0.03745, allocations: 148.8 kB / 395.4 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.003992/0.04144, allocations: 3.618 MB / 399 MB, free: 13.35 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.04144, allocations: 4 kB / 399 MB, free: 13.35 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005975/0.04204, allocations: 195.9 kB / 399.2 MB, free: 13.16 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.0001545/0.04219, allocations: 210.4 kB / 399.4 MB, free: 12.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.567e-05/0.04229, allocations: 19.62 kB / 399.4 MB, free: 12.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.04229, allocations: 4 kB / 399.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.354e-06/0.0423, allocations: 0 / 399.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003194/0.04549, allocations: 1.95 MB / 401.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009267/0.05476, allocations: 8.584 MB / 410 MB, free: 2.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001585/0.05634, allocations: 1.3 MB / 411.3 MB, free: 1.078 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005447/0.05689, allocations: 68.84 kB / 411.3 MB, free: 1.008 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008078/0.05769, allocations: 489.7 kB / 411.8 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of SimCode: time 2.574e-06/0.0577, allocations: 0 / 411.8 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of Templates: time 0.1559/0.2136, allocations: 27.25 MB / 439.1 MB, free: 49.45 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2583026359789073]