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.001436/0.001436, allocations: 88.52 kB / 19.94 MB, free: 4.605 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.001373/0.001373, allocations: 177.9 kB / 23.21 MB, free: 1.328 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 0.985/0.985, allocations: 177.1 MB / 203.5 MB, free: 5.77 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.05769/0.05769, allocations: 12.74 MB / 272.7 MB, free: 0.5078 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: Performance of FrontEnd - loaded program: time 3.236e-06/3.236e-06, allocations: 0 / 403.2 MB, free: 8.836 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.35e-05/3.674e-05, allocations: 2.281 kB / 403.2 MB, free: 8.832 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.IO_Bus.Variables): time 0.004844/0.004881, allocations: 2.373 MB / 405.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001746/0.005055, allocations: 47.7 kB / 405.6 MB, free: 6.395 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.005192, allocations: 3.938 kB / 405.6 MB, free: 6.391 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.005458, allocations: 47.72 kB / 405.6 MB, free: 6.344 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.005558, allocations: 31.66 kB / 405.7 MB, free: 6.312 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.451e-05/0.005603, allocations: 4 kB / 405.7 MB, free: 6.309 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002721/0.008324, allocations: 2.142 MB / 407.8 MB, free: 4.191 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009998/0.009324, allocations: 475.5 kB / 408.3 MB, free: 3.695 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007511/0.01007, allocations: 0.9675 MB / 409.2 MB, free: 2.723 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005262/0.0106, allocations: 0.5035 MB / 409.7 MB, free: 2.215 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.01077, allocations: 4 kB / 409.7 MB, free: 2.211 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.01093, allocations: 0 / 409.7 MB, free: 2.211 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002854/0.01122, allocations: 351.7 kB / 410.1 MB, free: 1.863 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000471/0.01169, allocations: 0.5074 MB / 410.6 MB, free: 1.352 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1602/0.1719, allocations: 5.466 MB / 416.1 MB, free: 17.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.1719, allocations: 0 / 416.1 MB, free: 17.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1719, allocations: 1.156 kB / 416.1 MB, free: 17.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001334/0.172, allocations: 0.5156 kB / 416.1 MB, free: 17.79 MB / 330.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.006067/0.1781, allocations: 6.41 MB / 422.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.1781, allocations: 14.08 kB / 422.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005255/0.1787, allocations: 0.7232 MB / 423.2 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/0.1809, allocations: 2.426 MB / 425.6 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.181, allocations: 6.594 kB / 425.6 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.181, allocations: 2.5 kB / 425.6 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.1811, allocations: 72.5 kB / 425.7 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1811, allocations: 1.828 kB / 425.7 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1811, allocations: 5.812 kB / 425.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1811, allocations: 5.156 kB / 425.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.791e-05/0.1811, allocations: 13.06 kB / 425.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00274/0.1839, allocations: 2.611 MB / 428.4 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.736e-05/0.1839, allocations: 166.2 kB / 428.5 MB, free: 9.727 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.241e-05/0.1839, allocations: 81.33 kB / 428.6 MB, free: 9.645 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.1839, allocations: 79.09 kB / 428.7 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.184, allocations: 111.2 kB / 428.8 MB, free: 9.457 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.184, allocations: 0 / 428.8 MB, free: 9.457 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0004858/0.1844, allocations: 0.7506 MB / 429.5 MB, free: 9.004 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.1845, allocations: 127.9 kB / 429.7 MB, free: 8.867 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00779/0.1923, allocations: 8.012 MB / 437.7 MB, free: 5.113 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-06/0.1923, allocations: 25.7 kB / 437.7 MB, free: 5.082 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001547/0.1938, allocations: 3.102 MB / 440.8 MB, free: 2.398 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-06/0.1938, allocations: 3.984 kB / 440.8 MB, free: 2.395 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.1938, allocations: 13.53 kB / 440.8 MB, free: 2.379 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.419e-05/0.1939, allocations: 315.9 kB / 441.1 MB, free: 2.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-06/0.1939, allocations: 0 / 441.1 MB, free: 2.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.477e-05/0.1939, allocations: 29.48 kB / 441.1 MB, free: 2.035 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.853e-05/0.1939, allocations: 38.75 kB / 441.2 MB, free: 1.996 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1939, allocations: 0 / 441.2 MB, free: 1.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0005831/0.1945, allocations: 0.7783 MB / 442 MB, free: 1.535 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1945, allocations: 11.61 kB / 442 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1945, allocations: 0 / 442 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.1945, allocations: 0 / 442 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.988e-05/0.1946, allocations: 7.625 kB / 442 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.1946, allocations: 2.156 kB / 442 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006231/0.1952, allocations: 3.812 kB / 442 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.1952, allocations: 4 kB / 442 MB, free: 1.527 MB / 330.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.001787/0.197, allocations: 2.079 MB / 444.1 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006897/0.1977, allocations: 0.8294 MB / 444.9 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006203/0.1983, allocations: 0.8308 MB / 445.7 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.372e-05/0.1983, allocations: 187 kB / 445.9 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.864e-05/0.1984, allocations: 176.3 kB / 446.1 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.661e-05/0.1984, allocations: 181.2 kB / 446.3 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.2007, allocations: 2.493 MB / 448.8 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-05/0.2007, allocations: 112.5 kB / 448.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.47e-05/0.2007, allocations: 103.8 kB / 449 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.761e-05/0.2008, allocations: 176.3 kB / 449.1 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/0.2008, allocations: 184.1 kB / 449.3 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.96e-05/0.2008, allocations: 176.8 kB / 449.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.721e-05/0.2009, allocations: 180.7 kB / 449.7 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005278/0.2014, allocations: 1.071 MB / 450.7 MB, free: 9.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005548/0.202, allocations: 0.6744 MB / 451.4 MB, free: 8.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002232/0.2022, allocations: 177.1 kB / 451.6 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/0.2025, allocations: 112.6 kB / 451.7 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.2026, allocations: 182.2 kB / 451.9 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000382/0.2029, allocations: 104 kB / 452 MB, free: 8.238 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.006546/0.2095, allocations: 5.7 MB / 457.7 MB, free: 2.586 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2095, allocations: 0 / 457.7 MB, free: 2.586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007923/0.2103, allocations: 199.9 kB / 457.9 MB, free: 2.391 MB / 346.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 0.000114/0.2104, allocations: 174 kB / 458 MB, free: 2.215 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.127e-05/0.2105, allocations: 11.28 kB / 458.1 MB, free: 2.207 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2105, allocations: 4 kB / 458.1 MB, free: 2.203 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/0.2105, allocations: 2.781 kB / 458.1 MB, free: 2.203 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00358/0.2141, allocations: 1.699 MB / 459.8 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/0.2275, allocations: 10.68 MB / 470.4 MB, free: 5.926 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002107/0.2296, allocations: 3.456 MB / 473.9 MB, free: 2.426 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/0.2299, allocations: 28.5 kB / 473.9 MB, free: 2.398 MB / 362.7 MB Notification: Performance of SimCode: time 1.623e-06/0.2299, allocations: 0 / 473.9 MB, free: 2.398 MB / 362.7 MB Notification: Performance of Templates: time 0.05752/0.2874, allocations: 52.91 MB / 0.5145 GB, free: 13.5 MB / 426.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: 8.669320022221655]