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.0008998/0.0008998, allocations: 100.4 kB / 19.7 MB, free: 440 kB / 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.001031/0.001031, allocations: 211.6 kB / 22.99 MB, free: 2.961 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.037/1.037, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.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.07394/0.07394, allocations: 17.17 MB / 330.3 MB, free: 0.8203 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.001369/0.001369, allocations: 67.89 kB / 460.7 MB, free: 27.13 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08751/0.08888, allocations: 57.77 MB / 0.5063 GB, free: 1.262 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.IO_Bus.Variables): time 0.003464/0.09235, allocations: 2.364 MB / 0.5086 GB, free: 14.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 8.521e-05/0.09243, allocations: 63.58 kB / 0.5087 GB, free: 14.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.02e-05/0.09252, allocations: 0 / 0.5087 GB, free: 14.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.09273, allocations: 43.67 kB / 0.5087 GB, free: 14.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.856e-05/0.09279, allocations: 31.72 kB / 0.5088 GB, free: 14.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.086e-05/0.09282, allocations: 4 kB / 0.5088 GB, free: 14.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00213/0.09496, allocations: 2.089 MB / 0.5108 GB, free: 12.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006822/0.09564, allocations: 467.6 kB / 0.5113 GB, free: 12.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004732/0.09611, allocations: 0.847 MB / 0.5121 GB, free: 11.33 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006423/0.09675, allocations: 1.042 MB / 0.5131 GB, free: 10.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.09687, allocations: 4 kB / 0.5131 GB, free: 10.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.097, allocations: 4 kB / 0.5131 GB, free: 10.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.09723, allocations: 355.6 kB / 0.5134 GB, free: 9.914 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005566/0.09778, allocations: 1.042 MB / 0.5145 GB, free: 8.859 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003843/0.1016, allocations: 6.004 MB / 0.5203 GB, free: 2.824 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1016, allocations: 0 / 0.5203 GB, free: 2.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1016, allocations: 0 / 0.5203 GB, free: 2.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.561e-05/0.1017, allocations: 0 / 0.5203 GB, free: 2.824 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.005491/0.1072, allocations: 6.49 MB / 0.5267 GB, free: 12.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.1073, allocations: 8.031 kB / 0.5267 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005495/0.1078, allocations: 0.7303 MB / 0.5274 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.1098, allocations: 2.42 MB / 0.5297 GB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.1098, allocations: 4.375 kB / 0.5298 GB, free: 9.047 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.1098, allocations: 4.375 kB / 0.5298 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.11, allocations: 77.38 kB / 0.5298 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.11, allocations: 0 / 0.5298 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.11, allocations: 4 kB / 0.5298 GB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.11, allocations: 0 / 0.5298 GB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.151e-05/0.11, allocations: 15.94 kB / 0.5298 GB, free: 8.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002512/0.1125, allocations: 2.602 MB / 0.5324 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.324e-05/0.1126, allocations: 177.1 kB / 0.5326 GB, free: 6.102 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.892e-05/0.1127, allocations: 84.14 kB / 0.5326 GB, free: 6.016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.1127, allocations: 75.28 kB / 0.5327 GB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.1127, allocations: 105.8 kB / 0.5328 GB, free: 5.828 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.1127, allocations: 0 / 0.5328 GB, free: 5.828 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0005184/0.1132, allocations: 0.7506 MB / 0.5335 GB, free: 5.066 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.1133, allocations: 130.7 kB / 0.5337 GB, free: 4.926 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007971/0.1213, allocations: 8.014 MB / 0.5415 GB, free: 12.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.1213, allocations: 29.7 kB / 0.5415 GB, free: 12.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001992/0.1233, allocations: 3.087 MB / 0.5445 GB, free: 9.844 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.344e-06/0.1233, allocations: 8 kB / 0.5445 GB, free: 9.836 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.1233, allocations: 21.7 kB / 0.5446 GB, free: 9.809 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.1234, allocations: 313.9 kB / 0.5449 GB, free: 9.496 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.1234, allocations: 3.938 kB / 0.5449 GB, free: 9.492 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.693e-05/0.1234, allocations: 31.44 kB / 0.5449 GB, free: 9.449 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.759e-05/0.1235, allocations: 35.36 kB / 0.5449 GB, free: 9.402 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1235, allocations: 4 kB / 0.5449 GB, free: 9.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0005925/0.1241, allocations: 0.7778 MB / 0.5457 GB, free: 8.609 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.1241, allocations: 10.81 kB / 0.5457 GB, free: 8.602 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1241, allocations: 0 / 0.5457 GB, free: 8.602 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1241, allocations: 3.984 kB / 0.5457 GB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.618e-05/0.1242, allocations: 8 kB / 0.5457 GB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1242, allocations: 0 / 0.5457 GB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.1245, allocations: 4 kB / 0.5457 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1245, allocations: 4.031 kB / 0.5457 GB, free: 8.582 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.001996/0.1265, allocations: 2.078 MB / 0.5478 GB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003928/0.1269, allocations: 0.8357 MB / 0.5486 GB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005773/0.1275, allocations: 0.8264 MB / 0.5494 GB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.065e-05/0.1275, allocations: 176.3 kB / 0.5495 GB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.442e-05/0.1276, allocations: 192.2 kB / 0.5497 GB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.905e-05/0.1276, allocations: 176.3 kB / 0.5499 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.1294, allocations: 2.487 MB / 0.5523 GB, free: 1.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.443e-05/0.1294, allocations: 105 kB / 0.5524 GB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.535e-05/0.1294, allocations: 109 kB / 0.5525 GB, free: 1.508 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.53e-05/0.1295, allocations: 180.2 kB / 0.5527 GB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/0.1295, allocations: 176.3 kB / 0.5529 GB, free: 1.145 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.355e-05/0.1295, allocations: 192.4 kB / 0.5531 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-05/0.1296, allocations: 176.3 kB / 0.5532 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.206/0.3356, allocations: 1.066 MB / 0.5543 GB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008029/0.3364, allocations: 0.6761 MB / 0.5549 GB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/0.3366, allocations: 179.8 kB / 0.5551 GB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/0.337, allocations: 106.5 kB / 0.5552 GB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.337, allocations: 181.3 kB / 0.5554 GB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.3371, allocations: 106.4 kB / 0.5555 GB, free: 41.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.009102/0.3462, allocations: 5.699 MB / 0.561 GB, free: 39.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3462, allocations: 1.188 kB / 0.561 GB, free: 39.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007445/0.3469, allocations: 192.9 kB / 0.5612 GB, free: 39.98 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.398e-05/0.347, allocations: 176.4 kB / 0.5614 GB, free: 39.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.658e-05/0.3471, allocations: 9.281 kB / 0.5614 GB, free: 39.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3471, allocations: 1.469 kB / 0.5614 GB, free: 39.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.684e-06/0.3471, allocations: 3.375 kB / 0.5614 GB, free: 39.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004378/0.3515, allocations: 1.684 MB / 0.563 GB, free: 38.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/0.3673, allocations: 10.69 MB / 0.5735 GB, free: 34.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002498/0.3698, allocations: 3.458 MB / 0.5769 GB, free: 32.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.3698, allocations: 27.44 kB / 0.5769 GB, free: 32.13 MB / 410.7 MB Notification: Performance of SimCode: time 1.914e-06/0.3698, allocations: 3.469 kB / 0.5769 GB, free: 32.13 MB / 410.7 MB Notification: Performance of Templates: time 0.05548/0.4253, allocations: 53.08 MB / 0.6287 GB, free: 11.06 MB / 442.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: 10.596378920134157]