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.001023/0.001023, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001479/0.002502, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001049/0.001049, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002391, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.046/1.046, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1003/1.146, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.05421/0.05421, allocations: 12.75 MB / 256.7 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00762/0.06183, allocations: 4.821 MB / 261.5 MB, free: 13.26 MB / 266.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.244e-06/2.244e-06, allocations: 0 / 262.9 MB, free: 11.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712e-05/1.937e-05, allocations: 2.312 kB / 262.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.IO_Bus.Variables): time 0.003914/0.003933, allocations: 2.488 MB / 265.4 MB, free: 9.402 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001429/0.004076, allocations: 63.58 kB / 265.4 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.767e-05/0.004164, allocations: 4 kB / 265.4 MB, free: 9.336 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.004341, allocations: 51.59 kB / 265.5 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.536e-05/0.004417, allocations: 23.78 kB / 265.5 MB, free: 9.262 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.383e-05/0.00445, allocations: 11.98 kB / 265.5 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00247/0.00692, allocations: 2.137 MB / 267.7 MB, free: 7.141 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007402/0.007661, allocations: 467.6 kB / 268.1 MB, free: 6.633 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/0.01041, allocations: 2.76 MB / 270.9 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004411/0.01085, allocations: 0.4997 MB / 271.4 MB, free: 3.238 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.01095, allocations: 7.938 kB / 271.4 MB, free: 3.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.01106, allocations: 0 / 271.4 MB, free: 3.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.01134, allocations: 355.7 kB / 271.7 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004445/0.01178, allocations: 0.5035 MB / 272.2 MB, free: 2.371 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1302/0.142, allocations: 3.717 MB / 275.9 MB, free: 7.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.583e-05/0.142, allocations: 3.297 kB / 276 MB, free: 7.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.142, allocations: 0 / 276 MB, free: 7.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001779/0.1422, allocations: 0 / 276 MB, free: 7.352 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.006593/0.1488, allocations: 7.149 MB / 283.1 MB, free: 3.625 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1488, allocations: 9.094 kB / 283.1 MB, free: 3.625 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000472/0.1493, allocations: 355.6 kB / 283.5 MB, free: 3.625 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008343/0.1577, allocations: 2.466 MB / 285.9 MB, free: 2.098 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1577, allocations: 6.281 kB / 285.9 MB, free: 2.098 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-06/0.1577, allocations: 2.719 kB / 285.9 MB, free: 2.098 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.361e-05/0.1578, allocations: 68.39 kB / 286 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.1578, allocations: 1.438 kB / 286 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.1578, allocations: 2.859 kB / 286 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1578, allocations: 5.156 kB / 286 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.204e-05/0.1578, allocations: 13.11 kB / 286 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007195/0.1585, allocations: 0.5773 MB / 286.6 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.588e-05/0.1586, allocations: 171.5 kB / 286.8 MB, free: 1.285 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.109e-05/0.1586, allocations: 86.92 kB / 286.9 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.1586, allocations: 76.78 kB / 286.9 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.1586, allocations: 111.9 kB / 287 MB, free: 1.008 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.1586, allocations: 0.6562 kB / 287 MB, free: 1.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 0.006525/0.1651, allocations: 378.1 kB / 287.4 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.1652, allocations: 135.7 kB / 287.5 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01217/0.1774, allocations: 5.425 MB / 293 MB, free: 15.19 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.731e-06/0.1774, allocations: 26.55 kB / 293 MB, free: 15.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009514/0.1783, allocations: 1.146 MB / 294.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.833e-06/0.1783, allocations: 0 / 294.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.1784, allocations: 21.83 kB / 294.2 MB, free: 14.36 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.65e-05/0.1784, allocations: 309.7 kB / 294.5 MB, free: 14.06 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-06/0.1784, allocations: 1.438 kB / 294.5 MB, free: 14.06 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.281e-05/0.1785, allocations: 26.78 kB / 294.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.346e-05/0.1785, allocations: 39.16 kB / 294.5 MB, free: 13.99 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.1785, allocations: 0 / 294.5 MB, free: 13.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0006176/0.1791, allocations: 410.2 kB / 294.9 MB, free: 13.83 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1792, allocations: 6 kB / 294.9 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1792, allocations: 3.094 kB / 294.9 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.1792, allocations: 0 / 294.9 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.893e-05/0.1792, allocations: 13.14 kB / 294.9 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.1792, allocations: 5.859 kB / 295 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003626/0.1829, allocations: 2.625 kB / 295 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.1829, allocations: 0 / 295 MB, free: 13.83 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.000752/0.1836, allocations: 184.1 kB / 295.1 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003973/0.184, allocations: 458.2 kB / 295.6 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000754/0.1848, allocations: 0.6817 MB / 296.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.944e-05/0.1848, allocations: 180.3 kB / 296.4 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.892e-05/0.1848, allocations: 179.5 kB / 296.6 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.183e-05/0.1849, allocations: 185.1 kB / 296.8 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005145/0.19, allocations: 1.57 MB / 298.4 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.586e-05/0.1901, allocations: 103.5 kB / 298.5 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.828e-05/0.1901, allocations: 108.2 kB / 298.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005621/0.1907, allocations: 0.6756 MB / 299.2 MB, free: 9.492 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.23e-05/0.1907, allocations: 183.4 kB / 299.4 MB, free: 9.309 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.1907, allocations: 180.3 kB / 299.6 MB, free: 9.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.226e-05/0.1908, allocations: 183.4 kB / 299.8 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.101e-05/0.1908, allocations: 180.9 kB / 300 MB, free: 8.758 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.1913, allocations: 0.687 MB / 300.6 MB, free: 8.059 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002824/0.1915, allocations: 180.9 kB / 300.8 MB, free: 7.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003445/0.195, allocations: 101 kB / 300.9 MB, free: 7.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.195, allocations: 197.1 kB / 301.1 MB, free: 7.578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.1951, allocations: 101 kB / 301.2 MB, free: 7.473 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.006371/0.2014, allocations: 2.982 MB / 304.2 MB, free: 4.539 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2014, allocations: 0 / 304.2 MB, free: 4.539 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006136/0.202, allocations: 199.9 kB / 304.4 MB, free: 4.344 MB / 282.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.0001004/0.2021, allocations: 143.7 kB / 304.5 MB, free: 4.195 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.201e-05/0.2022, allocations: 20.36 kB / 304.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.887e-05/0.2023, allocations: 80 kB / 304.6 MB, free: 4.102 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.2023, allocations: 0 / 304.6 MB, free: 4.102 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007049/0.2093, allocations: 1.887 MB / 306.5 MB, free: 2.395 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.222, allocations: 8.287 MB / 314.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007893/0.2228, allocations: 1.054 MB / 315.9 MB, free: 8.934 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004908/0.2233, allocations: 60.86 kB / 315.9 MB, free: 8.875 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000738/0.224, allocations: 390.9 kB / 316.3 MB, free: 8.492 MB / 298.7 MB Notification: Performance of SimCode: time 1.953e-06/0.224, allocations: 0 / 316.3 MB, free: 8.492 MB / 298.7 MB Notification: Performance of Templates: time 0.03656/0.2606, allocations: 27.71 MB / 344 MB, free: 13.46 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.01663741376251]