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.001458/0.001458, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001655/0.001655, allocations: 173 kB / 23.36 MB, free: 1.129 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.049/1.049, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.06562/0.06562, allocations: 12.76 MB / 273 MB, free: 160 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 2.365e-06/2.365e-06, allocations: 0 / 294 MB, free: 11.87 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.952e-05, allocations: 5.562 kB / 294 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.IO_Bus.Variables): time 0.00315/0.00317, allocations: 2.471 MB / 296.5 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 9.858e-05/0.003268, allocations: 55.69 kB / 296.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.49e-05/0.003343, allocations: 6.469 kB / 296.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.003534, allocations: 55.31 kB / 296.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.463e-05/0.003599, allocations: 38.23 kB / 296.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.909e-05/0.003628, allocations: 9.094 kB / 296.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002229/0.005857, allocations: 2.155 MB / 298.8 MB, free: 9.078 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008985/0.006755, allocations: 473.3 kB / 299.3 MB, free: 8.801 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008686/0.007624, allocations: 0.9663 MB / 300.2 MB, free: 8.527 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006823/0.008306, allocations: 0.5035 MB / 300.7 MB, free: 8.254 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002768/0.008583, allocations: 3 kB / 300.7 MB, free: 8.254 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.008704, allocations: 5.625 kB / 300.7 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.008964, allocations: 359.5 kB / 301.1 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004382/0.009402, allocations: 0.5052 MB / 301.6 MB, free: 7.699 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002981/0.01238, allocations: 3.71 MB / 305.3 MB, free: 5.668 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.01239, allocations: 0.7031 kB / 305.3 MB, free: 5.668 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01239, allocations: 0 / 305.3 MB, free: 5.668 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000144/0.01253, allocations: 4 kB / 305.3 MB, free: 5.664 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.004703/0.01724, allocations: 6.396 MB / 311.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.01727, allocations: 11.98 kB / 311.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003292/0.0176, allocations: 352.5 kB / 312.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.01983, allocations: 2.462 MB / 314.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.01984, allocations: 12.36 kB / 314.5 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.01985, allocations: 4.375 kB / 314.5 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.092e-05/0.01994, allocations: 65.62 kB / 314.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.01995, allocations: 192 / 314.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-06/0.01996, allocations: 4.312 kB / 314.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.01996, allocations: 7.938 kB / 314.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.396e-05/0.01998, allocations: 8 kB / 314.6 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.02047, allocations: 0.5728 MB / 315.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.207e-05/0.02054, allocations: 181.1 kB / 315.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.338e-05/0.02056, allocations: 88.08 kB / 315.5 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.02058, allocations: 75.28 kB / 315.5 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.02062, allocations: 109.9 kB / 315.6 MB, free: 11.17 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.02062, allocations: 0 / 315.6 MB, free: 11.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002829/0.0209, allocations: 377.2 kB / 316 MB, free: 10.79 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.02094, allocations: 126.7 kB / 316.1 MB, free: 10.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00387/0.02481, allocations: 5.425 MB / 321.6 MB, free: 5.289 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.02482, allocations: 25.7 kB / 321.6 MB, free: 5.258 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007734/0.02559, allocations: 1.147 MB / 322.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-06/0.0256, allocations: 8 kB / 322.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.02562, allocations: 13.72 kB / 322.8 MB, free: 4.078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.886e-05/0.02569, allocations: 306 kB / 323.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.714e-06/0.0257, allocations: 11.92 kB / 323.1 MB, free: 3.762 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.08e-05/0.02572, allocations: 27.42 kB / 323.1 MB, free: 3.723 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.399e-05/0.02575, allocations: 31.38 kB / 323.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.02576, allocations: 0 / 323.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002975/0.02605, allocations: 409.1 kB / 323.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.02607, allocations: 8 kB / 323.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.02607, allocations: 0.625 kB / 323.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.02608, allocations: 0 / 323.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.252e-05/0.02613, allocations: 8 kB / 323.5 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.02613, allocations: 3.938 kB / 323.5 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.02636, allocations: 8 kB / 323.5 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.02636, allocations: 0 / 323.5 MB, free: 3.246 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.0003897/0.02675, allocations: 185.1 kB / 323.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/0.027, allocations: 464.6 kB / 324.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005092/0.02751, allocations: 0.6779 MB / 324.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.846e-05/0.02755, allocations: 180.3 kB / 325 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-05/0.02759, allocations: 176.3 kB / 325.2 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.91e-05/0.02763, allocations: 184.1 kB / 325.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.02886, allocations: 1.567 MB / 327 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.214e-05/0.0289, allocations: 108.8 kB / 327.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.853e-05/0.02892, allocations: 105 kB / 327.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.565e-05/0.02897, allocations: 184.2 kB / 327.3 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.02902, allocations: 184.2 kB / 327.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.33e-05/0.02906, allocations: 176.5 kB / 327.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.577e-05/0.02911, allocations: 188.3 kB / 327.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.02944, allocations: 0.6927 MB / 328.6 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003622/0.02981, allocations: 0.6718 MB / 329.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.02999, allocations: 192.2 kB / 329.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.03024, allocations: 104.9 kB / 329.5 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.03028, allocations: 176.3 kB / 329.7 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.0303, allocations: 108.9 kB / 329.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002192/0.03249, allocations: 2.978 MB / 332.8 MB, free: 9.867 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0325, allocations: 0 / 332.8 MB, free: 9.867 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003172/0.03281, allocations: 196 kB / 333 MB, free: 9.676 MB / 298.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.753e-05/0.03291, allocations: 151.6 kB / 333.1 MB, free: 9.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.799e-05/0.03297, allocations: 16.84 kB / 333.1 MB, free: 9.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.332e-05/0.03301, allocations: 80 kB / 333.2 MB, free: 9.422 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/0.03301, allocations: 3.938 kB / 333.2 MB, free: 9.418 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/0.03569, allocations: 1.686 MB / 334.9 MB, free: 7.863 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008809/0.0445, allocations: 8.284 MB / 343.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008461/0.04535, allocations: 1.058 MB / 344.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003134/0.04566, allocations: 64.84 kB / 344.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007969/0.04646, allocations: 394.8 kB / 344.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of SimCode: time 1.392e-06/0.04646, allocations: 0 / 344.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of Templates: time 0.04877/0.09523, allocations: 27.62 MB / 372.3 MB, free: 2.926 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Bodylight_Bodylight.Types.Examples.IO_Bus.Variables.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.109134411904961]