Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Types.Examples.Units.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.002112/0.002112, allocations: 105.5 kB / 18.95 MB, free: 1.176 MB / 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.002059/0.002059, allocations: 217.9 kB / 22.26 MB, free: 3.566 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.907/1.907, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] 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.102/0.102, allocations: 17.16 MB / 329.6 MB, free: 0.7109 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.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Types.Examples.Units") translateModel(Bodylight.Types.Examples.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Types.Examples.Units") [Timeout 660] "Notification: Bodylight requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.005614/0.005614, allocations: 67.89 kB / 460.7 MB, free: 26.35 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1815, allocations: 57.78 MB / 0.5063 GB, free: 480 kB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.Units): time 0.01058/0.1921, allocations: 1.763 MB / 0.5081 GB, free: 14.7 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000202/0.1923, allocations: 67.67 kB / 0.5081 GB, free: 14.63 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.1923, allocations: 0 / 0.5081 GB, free: 14.63 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.951e-05/0.1924, allocations: 15.84 kB / 0.5081 GB, free: 14.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1925, allocations: 47.5 kB / 0.5082 GB, free: 14.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.512e-06/0.1925, allocations: 8 kB / 0.5082 GB, free: 14.56 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.1927, allocations: 91.19 kB / 0.5083 GB, free: 14.47 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.1928, allocations: 4 kB / 0.5083 GB, free: 14.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.577e-05/0.1928, allocations: 27.92 kB / 0.5083 GB, free: 14.44 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.1929, allocations: 31.81 kB / 0.5083 GB, free: 14.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.193, allocations: 0 / 0.5083 GB, free: 14.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.685e-05/0.193, allocations: 0 / 0.5083 GB, free: 14.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.193, allocations: 3.938 kB / 0.5083 GB, free: 14.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.193, allocations: 31.81 kB / 0.5084 GB, free: 14.37 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.1932, allocations: 71.64 kB / 0.5084 GB, free: 14.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1932, allocations: 0 / 0.5084 GB, free: 14.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1932, allocations: 0 / 0.5084 GB, free: 14.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1932, allocations: 3.938 kB / 0.5084 GB, free: 14.3 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004534/0.1936, allocations: 318.2 kB / 0.5088 GB, free: 13.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1937, allocations: 8.031 kB / 0.5088 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.496e-05/0.1938, allocations: 84.17 kB / 0.5088 GB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.194, allocations: 222 kB / 0.5091 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.1941, allocations: 154.9 kB / 0.5092 GB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.727e-05/0.1942, allocations: 150.9 kB / 0.5093 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.827e-05/0.1943, allocations: 109.5 kB / 0.5094 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.456e-05/0.1944, allocations: 75.47 kB / 0.5095 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.1945, allocations: 158.5 kB / 0.5097 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.66e-05/0.1946, allocations: 150.6 kB / 0.5098 GB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003109/0.1977, allocations: 154.5 kB / 0.51 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.1981, allocations: 417.6 kB / 0.5104 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.1983, allocations: 169.1 kB / 0.5105 GB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.273e-05/0.1983, allocations: 80.14 kB / 0.5106 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.269e-05/0.1984, allocations: 79.28 kB / 0.5107 GB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.253e-05/0.1985, allocations: 105.8 kB / 0.5108 GB, free: 11.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.1985, allocations: 0 / 0.5108 GB, free: 11.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001055/0.1986, allocations: 45.53 kB / 0.5108 GB, free: 11.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.1987, allocations: 130.7 kB / 0.5109 GB, free: 11.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.199, allocations: 166.8 kB / 0.5111 GB, free: 11.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.199, allocations: 25.7 kB / 0.5111 GB, free: 11.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.1991, allocations: 108.1 kB / 0.5112 GB, free: 11.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-06/0.1991, allocations: 0 / 0.5112 GB, free: 11.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.1991, allocations: 9.719 kB / 0.5112 GB, free: 11.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.1994, allocations: 322.8 kB / 0.5115 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.627e-06/0.1994, allocations: 0 / 0.5115 GB, free: 10.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-06/0.1994, allocations: 0 / 0.5115 GB, free: 10.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.086e-05/0.1994, allocations: 75.28 kB / 0.5116 GB, free: 10.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.941e-05/0.1995, allocations: 83.22 kB / 0.5117 GB, free: 10.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001154/0.1996, allocations: 49.55 kB / 0.5117 GB, free: 10.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.135e-05/0.1996, allocations: 79.28 kB / 0.5118 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.167e-05/0.1997, allocations: 75.28 kB / 0.5119 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000122/0.1998, allocations: 166.6 kB / 0.512 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.179e-05/0.1999, allocations: 79.22 kB / 0.5121 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.904e-05/0.2, allocations: 154.5 kB / 0.5123 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.2001, allocations: 87.16 kB / 0.5124 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/0.2002, allocations: 75.28 kB / 0.5124 GB, free: 10.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0002075/0.2004, allocations: 264.4 kB / 0.5127 GB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003125/0.2035, allocations: 116.9 kB / 0.5128 GB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.2036, allocations: 117.5 kB / 0.5129 GB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001262/0.2037, allocations: 184.2 kB / 0.5131 GB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001241/0.2038, allocations: 180.2 kB / 0.5133 GB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001223/0.204, allocations: 180.3 kB / 0.5134 GB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.2044, allocations: 380.8 kB / 0.5138 GB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.068e-05/0.2045, allocations: 105 kB / 0.5139 GB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.369e-05/0.2045, allocations: 105 kB / 0.514 GB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001242/0.2047, allocations: 180.2 kB / 0.5142 GB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/0.2048, allocations: 180.3 kB / 0.5143 GB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003346/0.2051, allocations: 184.2 kB / 0.5145 GB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001213/0.2052, allocations: 180.2 kB / 0.5147 GB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.2055, allocations: 319.7 kB / 0.515 GB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.131e-05/0.2056, allocations: 108.9 kB / 0.5151 GB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.2058, allocations: 184.2 kB / 0.5153 GB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.2059, allocations: 105.3 kB / 0.5154 GB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.2061, allocations: 184.2 kB / 0.5155 GB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.561e-05/0.2061, allocations: 113 kB / 0.5156 GB, free: 6.539 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001585/0.2063, allocations: 120.3 kB / 0.5158 GB, free: 6.422 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2063, allocations: 0 / 0.5158 GB, free: 6.422 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003437/0.2097, allocations: 12 kB / 0.5158 GB, free: 6.41 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.0001708/0.2099, allocations: 171.3 kB / 0.5159 GB, free: 6.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.09e-05/0.2099, allocations: 0 / 0.5159 GB, free: 6.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2099, allocations: 0 / 0.5159 GB, free: 6.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.2099, allocations: 4 kB / 0.5159 GB, free: 6.227 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007552/0.2107, allocations: 491.5 kB / 0.5164 GB, free: 5.742 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007857/0.2115, allocations: 397.2 kB / 0.5168 GB, free: 5.324 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.2116, allocations: 81.27 kB / 0.5169 GB, free: 5.227 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.912e-05/0.2116, allocations: 4 kB / 0.5169 GB, free: 5.223 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.516e-05/0.2116, allocations: 7.438 kB / 0.5169 GB, free: 5.215 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2116, allocations: 0 / 0.5169 GB, free: 5.215 MB / 378.7 MB Notification: Performance of Templates: time 0.005347/0.217, allocations: 1.186 MB / 0.518 GB, free: 4.066 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Types.Examples.Units.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Types.Examples.Units.pipe ; mkfifo Bodylight_Bodylight.Types.Examples.Units.pipe ; head -c 1048576 < Bodylight_Bodylight.Types.Examples.Units.pipe >> ../files/Bodylight_Bodylight.Types.Examples.Units.sim & ./Bodylight_Bodylight.Types.Examples.Units -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Types.Examples.Units.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.5975391417741776]