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.0008861/0.0008861, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009344/0.0009344, allocations: 173 kB / 23.36 MB, free: 1.133 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.102/1.102, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.0563/0.0563, 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.454e-06/2.454e-06, allocations: 0 / 294 MB, free: 11.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.653e-05, allocations: 2.312 kB / 294 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.IO_Bus.Variables): time 0.003128/0.003145, allocations: 2.429 MB / 296.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 9.608e-05/0.003241, allocations: 64.08 kB / 296.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.408e-05/0.003315, allocations: 2.25 kB / 296.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.003492, allocations: 55.16 kB / 296.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.999e-05/0.003552, allocations: 27.19 kB / 296.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.888e-05/0.003581, allocations: 6.703 kB / 296.5 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002016/0.005597, allocations: 2.162 MB / 298.7 MB, free: 9.191 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006262/0.006223, allocations: 469.9 kB / 299.2 MB, free: 8.918 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006678/0.006891, allocations: 0.97 MB / 300.1 MB, free: 8.641 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004403/0.007331, allocations: 0.4999 MB / 300.6 MB, free: 8.371 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.007449, allocations: 1.375 kB / 300.6 MB, free: 8.371 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.247e-05/0.007511, allocations: 6.594 kB / 300.6 MB, free: 8.367 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002072/0.007718, allocations: 363.7 kB / 301 MB, free: 8.086 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002987/0.008017, allocations: 0.5031 MB / 301.5 MB, free: 7.816 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002114/0.01013, allocations: 3.714 MB / 305.2 MB, free: 5.773 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.01013, allocations: 0 / 305.2 MB, free: 5.773 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01013, allocations: 0 / 305.2 MB, free: 5.773 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001053/0.01024, allocations: 4 kB / 305.2 MB, free: 5.77 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.00412/0.01436, allocations: 6.396 MB / 311.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.0144, allocations: 15.98 kB / 311.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003763/0.01478, allocations: 352.5 kB / 312 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.01648, allocations: 2.455 MB / 314.4 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.01649, allocations: 12.36 kB / 314.4 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.0165, allocations: 384 / 314.4 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.262e-05/0.01659, allocations: 70.17 kB / 314.5 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.01659, allocations: 192 / 314.5 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.0166, allocations: 4.375 kB / 314.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.01661, allocations: 7.938 kB / 314.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.463e-05/0.01662, allocations: 11.92 kB / 314.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.01716, allocations: 0.5806 MB / 315.1 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.083e-05/0.01722, allocations: 173.1 kB / 315.3 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.01724, allocations: 80.14 kB / 315.4 MB, free: 11.49 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.01726, allocations: 79.28 kB / 315.4 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.01729, allocations: 109.9 kB / 315.6 MB, free: 11.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.01729, allocations: 0 / 315.6 MB, free: 11.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002661/0.01756, allocations: 385.2 kB / 315.9 MB, free: 10.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.01761, allocations: 126.7 kB / 316.1 MB, free: 10.78 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003729/0.02134, allocations: 5.421 MB / 321.5 MB, free: 5.414 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/0.02135, allocations: 25.7 kB / 321.5 MB, free: 5.383 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008176/0.02216, allocations: 1.155 MB / 322.7 MB, free: 4.223 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-06/0.02217, allocations: 4 kB / 322.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.02219, allocations: 13.72 kB / 322.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.744e-05/0.02228, allocations: 306 kB / 323 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-06/0.02229, allocations: 3.984 kB / 323 MB, free: 3.891 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.166e-05/0.02231, allocations: 31.42 kB / 323 MB, free: 3.848 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.972e-05/0.02235, allocations: 35.38 kB / 323 MB, free: 3.801 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.02235, allocations: 0 / 323 MB, free: 3.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003142/0.02267, allocations: 409 kB / 323.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.02268, allocations: 6.188 kB / 323.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.02269, allocations: 4 kB / 323.4 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.0227, allocations: 0 / 323.4 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.238e-05/0.02274, allocations: 8.125 kB / 323.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.02275, allocations: 4 kB / 323.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.02298, allocations: 0 / 323.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.02299, allocations: 4.625 kB / 323.5 MB, free: 3.371 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.0003934/0.02338, allocations: 181.1 kB / 323.6 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/0.02365, allocations: 468.4 kB / 324.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005173/0.02417, allocations: 0.674 MB / 324.8 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.941e-05/0.02421, allocations: 176.3 kB / 324.9 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.51e-05/0.02425, allocations: 188.2 kB / 325.1 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.096e-05/0.02429, allocations: 176.3 kB / 325.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.02547, allocations: 1.575 MB / 326.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.353e-05/0.0255, allocations: 101 kB / 327 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.785e-05/0.02552, allocations: 108.9 kB / 327.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.149e-05/0.02557, allocations: 188.2 kB / 327.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.864e-05/0.02561, allocations: 176.3 kB / 327.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-05/0.02567, allocations: 184.4 kB / 327.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.735e-05/0.02571, allocations: 180.2 kB / 327.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.02608, allocations: 0.6888 MB / 328.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004901/0.02657, allocations: 0.6718 MB / 329.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.02677, allocations: 192.1 kB / 329.3 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.02704, allocations: 105 kB / 329.4 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.02709, allocations: 184.2 kB / 329.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.02712, allocations: 101 kB / 329.7 MB, free: 12.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.002296/0.02941, allocations: 2.982 MB / 332.7 MB, free: 9.996 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.02941, allocations: 3.938 kB / 332.7 MB, free: 9.992 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003252/0.02974, allocations: 192 kB / 332.9 MB, free: 9.805 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.833e-05/0.02984, allocations: 151.6 kB / 333 MB, free: 9.648 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.195e-05/0.02989, allocations: 20.78 kB / 333.1 MB, free: 9.625 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.94e-05/0.02993, allocations: 76 kB / 333.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.91e-07/0.02993, allocations: 256 / 333.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/0.03283, allocations: 1.698 MB / 334.8 MB, free: 7.984 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008027/0.04086, allocations: 8.284 MB / 343.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008282/0.04169, allocations: 1.05 MB / 344.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002258/0.04191, allocations: 68.84 kB / 344.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007839/0.0427, allocations: 394.9 kB / 344.6 MB, free: 14.06 MB / 314.7 MB Notification: Performance of SimCode: time 1.442e-06/0.0427, allocations: 4 kB / 344.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of Templates: time 0.03412/0.07682, allocations: 27.63 MB / 372.3 MB, free: 3.047 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: 3.019727793056518]