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.0005726/0.0005726, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008232/0.001396, 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.0006354/0.0006354, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008772/0.001513, 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 0.961/0.961, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0899/1.051, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.05115/0.05115, allocations: 12.75 MB / 256.9 MB, free: 1.984 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005835/0.05699, allocations: 4.838 MB / 261.7 MB, free: 13.14 MB / 266.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 1.643e-06/1.643e-06, allocations: 0 / 263.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.573e-05, allocations: 2.312 kB / 263.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.IO_Bus.Variables): time 0.002801/0.002817, allocations: 2.496 MB / 265.6 MB, free: 9.266 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 8.93e-05/0.002906, allocations: 59.58 kB / 265.6 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.868e-05/0.002975, allocations: 7.938 kB / 265.6 MB, free: 9.199 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.003103, allocations: 55.64 kB / 265.7 MB, free: 9.145 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.562e-05/0.003158, allocations: 23.73 kB / 265.7 MB, free: 9.121 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.651e-05/0.003185, allocations: 7.984 kB / 265.7 MB, free: 9.113 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001706/0.004891, allocations: 2.128 MB / 267.9 MB, free: 7.004 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005276/0.005419, allocations: 471.6 kB / 268.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.007305, allocations: 2.76 MB / 271.1 MB, free: 3.602 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003525/0.007657, allocations: 0.5035 MB / 271.6 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.027e-05/0.007748, allocations: 0 / 271.6 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.861e-05/0.007846, allocations: 4 kB / 271.6 MB, free: 3.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.008035, allocations: 351.7 kB / 271.9 MB, free: 2.742 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000273/0.008308, allocations: 0.5074 MB / 272.4 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1323/0.1406, allocations: 3.708 MB / 276.1 MB, free: 7.359 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-05/0.1406, allocations: 0 / 276.1 MB, free: 7.359 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1406, allocations: 2.688 kB / 276.2 MB, free: 7.359 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001624/0.1407, allocations: 0 / 276.2 MB, free: 7.359 MB / 266.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.005992/0.1467, allocations: 7.156 MB / 283.3 MB, free: 3.633 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1468, allocations: 10.52 kB / 283.3 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006497/0.1474, allocations: 355.5 kB / 283.7 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.1496, allocations: 2.463 MB / 286.1 MB, free: 2.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1496, allocations: 10.16 kB / 286.1 MB, free: 2.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.1496, allocations: 2.594 kB / 286.1 MB, free: 2.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.807e-05/0.1497, allocations: 65.41 kB / 286.2 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.1497, allocations: 2.125 kB / 286.2 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-06/0.1497, allocations: 0.5625 kB / 286.2 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1497, allocations: 6.469 kB / 286.2 MB, free: 2.023 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.534e-05/0.1497, allocations: 14.72 kB / 286.2 MB, free: 2.023 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/0.1503, allocations: 0.5777 MB / 286.8 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.593e-05/0.1503, allocations: 173.5 kB / 287 MB, free: 1.273 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.916e-06/0.1503, allocations: 84.08 kB / 287.1 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.076e-06/0.1503, allocations: 78.34 kB / 287.1 MB, free: 1.113 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.1504, allocations: 107.8 kB / 287.2 MB, free: 1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.1504, allocations: 0 / 287.2 MB, free: 1 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003655/0.1507, allocations: 382.7 kB / 287.6 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.1507, allocations: 128 kB / 287.7 MB, free: 0.832 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003884/0.1546, allocations: 5.43 MB / 293.2 MB, free: 15.13 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.308e-06/0.1546, allocations: 28.44 kB / 293.2 MB, free: 15.1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000772/0.1554, allocations: 1.147 MB / 294.3 MB, free: 14.33 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-06/0.1554, allocations: 2.219 kB / 294.3 MB, free: 14.33 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.1554, allocations: 15.52 kB / 294.4 MB, free: 14.31 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.612e-05/0.1555, allocations: 310.7 kB / 294.7 MB, free: 14 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.281e-06/0.1555, allocations: 2.625 kB / 294.7 MB, free: 14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.804e-05/0.1555, allocations: 27.42 kB / 294.7 MB, free: 13.97 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.512e-05/0.1556, allocations: 45.08 kB / 294.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1556, allocations: 1.281 kB / 294.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003694/0.1559, allocations: 404.4 kB / 295.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1559, allocations: 5.875 kB / 295.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.156, allocations: 1.562 kB / 295.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.156, allocations: 2.141 kB / 295.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.142e-05/0.156, allocations: 10.38 kB / 295.2 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.156, allocations: 1.922 kB / 295.2 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.1563, allocations: 3.375 kB / 295.2 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.1563, allocations: 1.344 kB / 295.2 MB, free: 13.77 MB / 282.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.0003827/0.1567, allocations: 189.7 kB / 295.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002791/0.157, allocations: 464.5 kB / 295.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00051/0.1575, allocations: 0.674 MB / 296.5 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.633e-05/0.1575, allocations: 177.1 kB / 296.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.793e-05/0.1576, allocations: 179.5 kB / 296.8 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.143e-05/0.1576, allocations: 184.8 kB / 297 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.1592, allocations: 1.571 MB / 298.6 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.472e-05/0.1592, allocations: 106.2 kB / 298.7 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.345e-05/0.1592, allocations: 112 kB / 298.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003738/0.1596, allocations: 0.6775 MB / 299.5 MB, free: 9.395 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.884e-05/0.1596, allocations: 182.4 kB / 299.6 MB, free: 9.215 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/0.1597, allocations: 176.3 kB / 299.8 MB, free: 9.035 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-05/0.1597, allocations: 183.5 kB / 300 MB, free: 8.852 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.613e-05/0.1598, allocations: 184.9 kB / 300.2 MB, free: 8.664 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.1601, allocations: 0.6822 MB / 300.9 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/0.1603, allocations: 187.9 kB / 301 MB, free: 7.777 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.1606, allocations: 102.3 kB / 301.1 MB, free: 7.672 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.1606, allocations: 184.1 kB / 301.3 MB, free: 7.488 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.1606, allocations: 101 kB / 301.4 MB, free: 7.383 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002077/0.1627, allocations: 2.983 MB / 304.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1627, allocations: 0.7188 kB / 304.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003167/0.163, allocations: 199.9 kB / 304.6 MB, free: 4.254 MB / 282.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 9.491e-05/0.1631, allocations: 149.8 kB / 304.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.047e-05/0.1632, allocations: 24.48 kB / 304.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.085e-05/0.1632, allocations: 81.06 kB / 304.8 MB, free: 4.004 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.326e-06/0.1632, allocations: 1.719 kB / 304.8 MB, free: 4.004 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005057/0.1683, allocations: 8.204 MB / 313 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008799/0.1771, allocations: 8.284 MB / 321.3 MB, free: 2.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007753/0.1779, allocations: 1.054 MB / 322.4 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003116/0.1782, allocations: 64.86 kB / 322.5 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000746/0.1789, allocations: 390.9 kB / 322.8 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1789, allocations: 3.719 kB / 322.8 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of Templates: time 0.03336/0.2123, allocations: 27.71 MB / 350.5 MB, free: 5.512 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: 2.913798618130386]