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.001433/0.001433, allocations: 89.06 kB / 19.65 MB, free: 276 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.001266/0.001266, allocations: 177 kB / 23.02 MB, free: 1.543 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.086/1.086, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.07306/0.07306, allocations: 12.75 MB / 272.7 MB, free: 304 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 1.643e-06/1.643e-06, allocations: 0 / 346.8 MB, free: 2.23 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.098e-05, allocations: 8.562 kB / 346.8 MB, free: 2.223 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.IO_Bus.Variables): time 0.002784/0.002805, allocations: 2.449 MB / 349.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 7.058e-05/0.002875, allocations: 51.64 kB / 349.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.002951, allocations: 3.969 kB / 349.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.003145, allocations: 59.53 kB / 349.3 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.993e-05/0.003225, allocations: 19.8 kB / 349.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.639e-05/0.003261, allocations: 7.984 kB / 349.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001734/0.004995, allocations: 2.126 MB / 351.5 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005454/0.00554, allocations: 407.5 kB / 351.9 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000755/0.006295, allocations: 0.9714 MB / 352.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000351/0.006647, allocations: 0.5036 MB / 353.4 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.619e-05/0.006703, allocations: 7.938 kB / 353.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.396e-05/0.006757, allocations: 0 / 353.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.006923, allocations: 359.6 kB / 353.7 MB, free: 11.24 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003696/0.007292, allocations: 0.5036 MB / 354.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.009493, allocations: 3.712 MB / 357.9 MB, free: 7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.009496, allocations: 0 / 357.9 MB, free: 7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.009497, allocations: 0 / 357.9 MB, free: 7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.432e-05/0.009532, allocations: 0 / 357.9 MB, free: 7 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.004392/0.01392, allocations: 7.067 MB / 365 MB, free: 15.85 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.01396, allocations: 15.98 kB / 365 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000413/0.01438, allocations: 0.7303 MB / 365.7 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.01577, allocations: 2.426 MB / 368.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.01578, allocations: 4.375 kB / 368.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.01579, allocations: 4.375 kB / 368.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.01589, allocations: 80.94 kB / 368.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.0159, allocations: 192 / 368.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.01591, allocations: 384 / 368.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.01592, allocations: 7.938 kB / 368.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.285e-05/0.01594, allocations: 23.92 kB / 368.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003002/0.01894, allocations: 3.993 MB / 372.3 MB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.107e-05/0.01902, allocations: 265.4 kB / 372.5 MB, free: 8.172 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/0.01905, allocations: 126.9 kB / 372.7 MB, free: 8.043 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.01907, allocations: 119.2 kB / 372.8 MB, free: 7.926 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/0.01912, allocations: 160.6 kB / 372.9 MB, free: 7.758 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.01912, allocations: 0 / 372.9 MB, free: 7.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003874/0.01951, allocations: 0.7506 MB / 373.7 MB, free: 6.996 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.01956, allocations: 170.6 kB / 373.9 MB, free: 6.816 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006461/0.02602, allocations: 7.434 MB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.02604, allocations: 25.7 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002403/0.02844, allocations: 3.695 MB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.539e-06/0.02844, allocations: 0 / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.02848, allocations: 23.38 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.0286, allocations: 492.4 kB / 385.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.02861, allocations: 4 kB / 385.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.626e-05/0.02864, allocations: 34.75 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.325e-05/0.02869, allocations: 50.69 kB / 385.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.0287, allocations: 0 / 385.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0008794/0.02958, allocations: 0.7817 MB / 386.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.0296, allocations: 4 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.0296, allocations: 0 / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.02962, allocations: 4 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.025e-05/0.02969, allocations: 7.984 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.0297, allocations: 0 / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.02996, allocations: 4.125 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.02997, allocations: 4 kB / 386.4 MB, free: 10.25 MB / 362.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.0004592/0.03043, allocations: 287.6 kB / 386.7 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003966/0.03082, allocations: 0.8671 MB / 387.6 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004629/0.03129, allocations: 0.7208 MB / 388.3 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.364e-05/0.03135, allocations: 268.1 kB / 388.5 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.108e-05/0.03141, allocations: 272 kB / 388.8 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.149e-05/0.03147, allocations: 268.2 kB / 389.1 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002777/0.03425, allocations: 3.667 MB / 392.7 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.342e-05/0.03428, allocations: 148.9 kB / 392.9 MB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.03432, allocations: 144.9 kB / 393 MB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-05/0.03438, allocations: 280 kB / 393.3 MB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.897e-05/0.03444, allocations: 264.1 kB / 393.6 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003563/0.03479, allocations: 272 kB / 393.8 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.319e-05/0.03485, allocations: 268.1 kB / 394.1 MB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005046/0.03535, allocations: 1.236 MB / 395.3 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004018/0.03575, allocations: 0.7108 MB / 396 MB, free: 460 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/0.03594, allocations: 272 kB / 396.3 MB, free: 180 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.03618, allocations: 148.9 kB / 396.4 MB, free: 24 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.03625, allocations: 268 kB / 396.7 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.03628, allocations: 148.9 kB / 396.8 MB, free: 15.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003372/0.03965, allocations: 3.85 MB / 400.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03965, allocations: 0 / 400.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003174/0.03997, allocations: 196 kB / 400.9 MB, free: 11.61 MB / 378.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.0007037/0.04067, allocations: 206.4 kB / 401.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.83e-05/0.04076, allocations: 27.61 kB / 401.1 MB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.04077, allocations: 0 / 401.1 MB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.04077, allocations: 0 / 401.1 MB, free: 11.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002984/0.04375, allocations: 1.96 MB / 403.1 MB, free: 9.535 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007869/0.05162, allocations: 8.565 MB / 411.6 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007652/0.05238, allocations: 1.304 MB / 412.9 MB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002577/0.05264, allocations: 60.86 kB / 413 MB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.05268, allocations: 28.5 kB / 413 MB, free: 15.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.853e-06/0.05268, allocations: 0 / 413 MB, free: 15.45 MB / 394.7 MB Notification: Performance of Templates: time 0.03419/0.08687, allocations: 26.97 MB / 440 MB, free: 4.906 MB / 410.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.449715862981975]