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.00566/0.00566, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.006616/0.006616, allocations: 169.9 kB / 22.45 MB, free: 2.109 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.732/1.732, allocations: 177.1 MB / 202.7 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 178] 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.1161/0.1161, allocations: 12.75 MB / 271.9 MB, free: 0.5 MB / 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.264e-06/2.264e-06, allocations: 0 / 403.2 MB, free: 8.031 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.234e-05, allocations: 5.234 kB / 403.2 MB, free: 8.027 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.IO_Bus.Variables): time 0.00458/0.004612, allocations: 2.371 MB / 405.5 MB, free: 5.637 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001151/0.004727, allocations: 47.64 kB / 405.6 MB, free: 5.59 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.692e-05/0.004814, allocations: 4 kB / 405.6 MB, free: 5.586 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.005039, allocations: 51.64 kB / 405.6 MB, free: 5.535 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.031e-05/0.005129, allocations: 27.69 kB / 405.7 MB, free: 5.508 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.06e-05/0.00517, allocations: 11.98 kB / 405.7 MB, free: 5.496 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003153/0.008322, allocations: 2.131 MB / 407.8 MB, free: 3.391 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008492/0.009172, allocations: 467.6 kB / 408.3 MB, free: 2.902 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009787/0.01015, allocations: 0.9675 MB / 409.2 MB, free: 1.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006844/0.01083, allocations: 0.5074 MB / 409.7 MB, free: 1.418 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.01101, allocations: 0 / 409.7 MB, free: 1.418 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.0112, allocations: 4 kB / 409.7 MB, free: 1.414 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007197/0.01192, allocations: 359.7 kB / 410.1 MB, free: 1.059 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006394/0.01256, allocations: 0.5074 MB / 410.6 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.186/0.1986, allocations: 5.459 MB / 416.1 MB, free: 18.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.1986, allocations: 0 / 416.1 MB, free: 18.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1986, allocations: 0 / 416.1 MB, free: 18.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002259/0.1988, allocations: 9.25 kB / 416.1 MB, free: 18.36 MB / 330.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.012/0.2108, allocations: 6.412 MB / 422.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.2109, allocations: 16.61 kB / 422.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.2119, allocations: 0.7235 MB / 423.2 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004646/0.2166, allocations: 2.421 MB / 425.6 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.2166, allocations: 3.125 kB / 425.6 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.2166, allocations: 4.562 kB / 425.7 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.2167, allocations: 73.78 kB / 425.7 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2168, allocations: 1.688 kB / 425.7 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.2168, allocations: 2.734 kB / 425.7 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2168, allocations: 8.641 kB / 425.7 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.64e-05/0.2168, allocations: 14.95 kB / 425.8 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004995/0.2218, allocations: 2.603 MB / 428.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.943e-05/0.2219, allocations: 175.5 kB / 428.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.2219, allocations: 80.14 kB / 428.6 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.2219, allocations: 76.62 kB / 428.7 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.2219, allocations: 109.1 kB / 428.8 MB, free: 9.891 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.533e-06/0.2219, allocations: 0 / 428.8 MB, free: 9.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.001002/0.2229, allocations: 0.7485 MB / 429.5 MB, free: 9.438 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.223, allocations: 128.6 kB / 429.7 MB, free: 9.301 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01676/0.2397, allocations: 8.017 MB / 437.7 MB, free: 5.422 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.2397, allocations: 27.36 kB / 437.7 MB, free: 5.391 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00298/0.2427, allocations: 3.097 MB / 440.8 MB, free: 2.707 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.533e-06/0.2427, allocations: 0 / 440.8 MB, free: 2.707 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6e-05/0.2428, allocations: 17.53 kB / 440.8 MB, free: 2.688 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.2428, allocations: 313 kB / 441.1 MB, free: 2.383 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.997e-05/0.2429, allocations: 3.984 kB / 441.1 MB, free: 2.379 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.307e-05/0.2429, allocations: 27.25 kB / 441.2 MB, free: 2.344 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.2429, allocations: 38.19 kB / 441.2 MB, free: 2.305 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.2429, allocations: 3.812 kB / 441.2 MB, free: 2.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.001904/0.2448, allocations: 0.781 MB / 442 MB, free: 1.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.2449, allocations: 5.844 kB / 442 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.2449, allocations: 2.531 kB / 442 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.2449, allocations: 0 / 442 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.518e-05/0.245, allocations: 7.906 kB / 442 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.245, allocations: 0.8438 kB / 442 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.2466, allocations: 7.062 kB / 442 MB, free: 1.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.2466, allocations: 3.094 kB / 442 MB, free: 1.836 MB / 330.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.003603/0.2502, allocations: 2.084 MB / 444.1 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001818/0.252, allocations: 0.8315 MB / 444.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002721/0.2547, allocations: 0.8217 MB / 445.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001081/0.2548, allocations: 183.3 kB / 445.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001062/0.2549, allocations: 188 kB / 446.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.891e-05/0.255, allocations: 179.1 kB / 446.3 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005759/0.2608, allocations: 2.483 MB / 448.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.85e-05/0.2609, allocations: 108.8 kB / 448.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.385e-05/0.2609, allocations: 105 kB / 449 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001162/0.261, allocations: 186.7 kB / 449.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.2611, allocations: 180.4 kB / 449.3 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.773e-05/0.2612, allocations: 184.2 kB / 449.5 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001023/0.2613, allocations: 180.1 kB / 449.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.2634, allocations: 1.066 MB / 450.8 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/0.2648, allocations: 0.6757 MB / 451.4 MB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004354/0.2653, allocations: 180 kB / 451.6 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005005/0.2658, allocations: 101 kB / 451.7 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.2659, allocations: 184.6 kB / 451.9 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.817e-05/0.2659, allocations: 101 kB / 452 MB, free: 8.191 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.01292/0.2789, allocations: 5.704 MB / 457.7 MB, free: 2.535 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2789, allocations: 0 / 457.7 MB, free: 2.535 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001745/0.2806, allocations: 203.9 kB / 457.9 MB, free: 2.336 MB / 346.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.0001874/0.2808, allocations: 170.5 kB / 458.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.626e-05/0.2809, allocations: 13.97 kB / 458.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2809, allocations: 0 / 458.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.2809, allocations: 0 / 458.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007269/0.2882, allocations: 1.706 MB / 459.8 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.025/0.3132, allocations: 10.6 MB / 470.4 MB, free: 5.965 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005756/0.3189, allocations: 3.464 MB / 473.8 MB, free: 2.457 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009954/0.3199, allocations: 84.86 kB / 473.9 MB, free: 2.375 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.121e-05/0.32, allocations: 28.5 kB / 473.9 MB, free: 2.348 MB / 362.7 MB Notification: Performance of SimCode: time 1.773e-06/0.32, allocations: 0 / 473.9 MB, free: 2.348 MB / 362.7 MB Notification: Performance of Templates: time 0.05559/0.3756, allocations: 25.34 MB / 499.3 MB, free: 9.496 MB / 394.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: 6.011176167987287]