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.001817/0.001817, allocations: 109.5 kB / 18.95 MB, free: 1.176 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.005652/0.005652, allocations: 221.8 kB / 22.26 MB, free: 3.566 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 1.842/1.842, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.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.1193/0.1193, allocations: 17.15 MB / 329.6 MB, free: 0.7188 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: Bodylight requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003695/0.003695, allocations: 68.08 kB / 460.7 MB, free: 26.35 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1253, allocations: 57.78 MB / 0.5064 GB, free: 480 kB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.IO_Bus.Variables): time 0.004897/0.1302, allocations: 2.357 MB / 0.5087 GB, free: 14.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001168/0.1303, allocations: 51.64 kB / 0.5087 GB, free: 14.04 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.1304, allocations: 4 kB / 0.5087 GB, free: 14.04 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.1307, allocations: 55.59 kB / 0.5088 GB, free: 13.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 9.297e-05/0.1308, allocations: 23.73 kB / 0.5088 GB, free: 13.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.084e-05/0.1308, allocations: 11.92 kB / 0.5088 GB, free: 13.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003012/0.1338, allocations: 2.075 MB / 0.5108 GB, free: 11.9 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000882/0.1347, allocations: 483.5 kB / 0.5113 GB, free: 11.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000837/0.1356, allocations: 0.8431 MB / 0.5121 GB, free: 10.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.1367, allocations: 1.042 MB / 0.5131 GB, free: 9.484 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001677/0.1368, allocations: 0 / 0.5131 GB, free: 9.484 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.137, allocations: 4 kB / 0.5131 GB, free: 9.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006099/0.1376, allocations: 351.6 kB / 0.5135 GB, free: 9.133 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.1387, allocations: 1.046 MB / 0.5145 GB, free: 8.074 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006733/0.1454, allocations: 6.008 MB / 0.5203 GB, free: 2.035 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1455, allocations: 0 / 0.5203 GB, free: 2.035 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1455, allocations: 0 / 0.5203 GB, free: 2.035 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.926e-05/0.1456, allocations: 3.938 kB / 0.5204 GB, free: 2.031 MB / 378.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.01032/0.1559, allocations: 6.491 MB / 0.5267 GB, free: 11.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.1559, allocations: 8.031 kB / 0.5267 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.157, allocations: 0.7225 MB / 0.5274 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003576/0.1606, allocations: 2.42 MB / 0.5298 GB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1606, allocations: 4.375 kB / 0.5298 GB, free: 8.258 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.1606, allocations: 4.375 kB / 0.5298 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.1608, allocations: 76.06 kB / 0.5298 GB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1608, allocations: 0 / 0.5298 GB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1608, allocations: 4 kB / 0.5299 GB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1608, allocations: 0 / 0.5299 GB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.194e-05/0.1609, allocations: 19.92 kB / 0.5299 GB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00408/0.165, allocations: 2.602 MB / 0.5324 GB, free: 5.496 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.1651, allocations: 165.1 kB / 0.5326 GB, free: 5.324 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.1652, allocations: 84.14 kB / 0.5327 GB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-05/0.1652, allocations: 75.28 kB / 0.5327 GB, free: 5.164 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.139e-05/0.1653, allocations: 113.8 kB / 0.5328 GB, free: 5.043 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.1653, allocations: 0 / 0.5328 GB, free: 5.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0009408/0.1662, allocations: 0.7583 MB / 0.5336 GB, free: 4.273 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.87e-05/0.1663, allocations: 134.7 kB / 0.5337 GB, free: 4.129 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01256/0.1789, allocations: 8.01 MB / 0.5415 GB, free: 12.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.1789, allocations: 25.7 kB / 0.5415 GB, free: 12.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003867/0.1828, allocations: 3.102 MB / 0.5446 GB, free: 9.043 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.137e-06/0.1828, allocations: 4 kB / 0.5446 GB, free: 9.039 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.1828, allocations: 13.66 kB / 0.5446 GB, free: 9.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.183, allocations: 314 kB / 0.5449 GB, free: 8.707 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.183, allocations: 0 / 0.5449 GB, free: 8.707 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.343e-05/0.1831, allocations: 35.42 kB / 0.5449 GB, free: 8.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.508e-05/0.1831, allocations: 31.38 kB / 0.545 GB, free: 8.617 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.1831, allocations: 4 kB / 0.545 GB, free: 8.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.001163/0.1843, allocations: 0.7739 MB / 0.5457 GB, free: 7.828 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.1843, allocations: 8 kB / 0.5457 GB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1843, allocations: 4.125 kB / 0.5457 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.1844, allocations: 3.938 kB / 0.5457 GB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.67e-05/0.1844, allocations: 8 kB / 0.5457 GB, free: 7.805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.1845, allocations: 0 / 0.5457 GB, free: 7.805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005595/0.185, allocations: 11.95 kB / 0.5458 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.185, allocations: 0 / 0.5458 GB, free: 7.793 MB / 410.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.003219/0.1882, allocations: 2.074 MB / 0.5478 GB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008754/0.1891, allocations: 0.828 MB / 0.5486 GB, free: 4.867 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.1905, allocations: 0.8302 MB / 0.5494 GB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001015/0.1906, allocations: 180.3 kB / 0.5496 GB, free: 3.844 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001023/0.1907, allocations: 192.1 kB / 0.5498 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-05/0.1908, allocations: 176.3 kB / 0.5499 GB, free: 3.469 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00347/0.1943, allocations: 2.487 MB / 0.5523 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-05/0.1944, allocations: 105 kB / 0.5524 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.744e-05/0.1944, allocations: 108.9 kB / 0.5526 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.553e-05/0.1945, allocations: 176.3 kB / 0.5527 GB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.1946, allocations: 176.3 kB / 0.5529 GB, free: 372 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001065/0.1948, allocations: 192.4 kB / 0.5531 GB, free: 172 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2731/0.4678, allocations: 184.6 kB / 0.5532 GB, free: 42.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.4689, allocations: 1.057 MB / 0.5543 GB, free: 42.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007321/0.4696, allocations: 0.6788 MB / 0.5549 GB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000302/0.4699, allocations: 181 kB / 0.5551 GB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.4703, allocations: 111.6 kB / 0.5552 GB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.4704, allocations: 178.7 kB / 0.5554 GB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.4704, allocations: 109.7 kB / 0.5555 GB, free: 41.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.009567/0.4799, allocations: 5.697 MB / 0.5611 GB, free: 39.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4799, allocations: 0 / 0.5611 GB, free: 39.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008471/0.4808, allocations: 192.4 kB / 0.5612 GB, free: 39.71 MB / 410.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.637e-05/0.4809, allocations: 176.6 kB / 0.5614 GB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.103e-05/0.481, allocations: 13.41 kB / 0.5614 GB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.481, allocations: 0 / 0.5614 GB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.481, allocations: 1 kB / 0.5614 GB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005276/0.4863, allocations: 1.694 MB / 0.5631 GB, free: 38.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/0.5026, allocations: 10.6 MB / 0.5734 GB, free: 34.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003547/0.5061, allocations: 3.473 MB / 0.5768 GB, free: 31.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009465/0.5071, allocations: 84.86 kB / 0.5769 GB, free: 31.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.5071, allocations: 23.44 kB / 0.5769 GB, free: 31.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.522e-06/0.5071, allocations: 0 / 0.5769 GB, free: 31.5 MB / 410.7 MB Notification: Performance of Templates: time 0.04038/0.5475, allocations: 31.46 MB / 0.6077 GB, free: 0.5117 MB / 410.7 MB " [Timeout remaining time 659] 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.360759210307151]