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.000962/0.000962, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.002349, 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.001046/0.001046, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001307/0.002353, 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 0.9553/0.9553, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08254/1.038, 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.05477/0.05477, allocations: 12.75 MB / 256.7 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00747/0.06225, allocations: 4.828 MB / 261.5 MB, free: 13.27 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.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: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 262.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.111e-05, allocations: 5.828 kB / 262.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.Units): time 0.002098/0.002119, allocations: 1.904 MB / 264.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 8.009e-05/0.002199, allocations: 63.67 kB / 264.8 MB, free: 9.957 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.273e-05/0.002222, allocations: 4 kB / 264.8 MB, free: 9.953 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/0.002235, allocations: 11.86 kB / 264.8 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.963e-05/0.002304, allocations: 59.42 kB / 264.9 MB, free: 9.883 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.005e-06/0.002307, allocations: 0 / 264.9 MB, free: 9.883 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.952e-05/0.002387, allocations: 107.1 kB / 265 MB, free: 9.777 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.002428, allocations: 7.984 kB / 265 MB, free: 9.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.481e-05/0.002493, allocations: 56.55 kB / 265.1 MB, free: 9.715 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.4e-05/0.002547, allocations: 23.94 kB / 265.1 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.002557, allocations: 0 / 265.1 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.572e-06/0.002564, allocations: 0 / 265.1 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.085e-06/0.002572, allocations: 7.938 kB / 265.1 MB, free: 9.684 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.002597, allocations: 23.94 kB / 265.1 MB, free: 9.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.107e-05/0.002668, allocations: 51.78 kB / 265.2 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.248e-05/0.00268, allocations: 0 / 265.2 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002681, allocations: 0 / 265.2 MB, free: 9.609 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.002693, allocations: 0 / 265.2 MB, free: 9.609 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002959/0.002989, allocations: 312.1 kB / 265.5 MB, free: 9.277 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.77e-05/0.003017, allocations: 8.031 kB / 265.5 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.003049, allocations: 80.22 kB / 265.6 MB, free: 9.191 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.318e-05/0.003142, allocations: 209.4 kB / 265.8 MB, free: 8.961 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.003172, allocations: 150.9 kB / 265.9 MB, free: 8.812 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.003202, allocations: 162.9 kB / 266.1 MB, free: 8.652 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.021e-05/0.003242, allocations: 109.5 kB / 266.2 MB, free: 8.539 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.003258, allocations: 79.45 kB / 266.3 MB, free: 8.461 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.003287, allocations: 154.9 kB / 266.4 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.9e-05/0.003316, allocations: 150.9 kB / 266.6 MB, free: 8.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.218e-05/0.003348, allocations: 158.5 kB / 266.7 MB, free: 8.004 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.003478, allocations: 353.3 kB / 267.1 MB, free: 7.645 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.646e-05/0.003535, allocations: 177.1 kB / 267.2 MB, free: 7.461 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.003667, allocations: 80.14 kB / 267.3 MB, free: 7.379 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.003683, allocations: 75.28 kB / 267.4 MB, free: 7.305 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.003711, allocations: 113.8 kB / 267.5 MB, free: 7.184 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 5.91e-07/0.003712, allocations: 0 / 267.5 MB, free: 7.184 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.477e-05/0.003756, allocations: 37.69 kB / 267.5 MB, free: 7.141 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.003798, allocations: 130.7 kB / 267.7 MB, free: 7 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.657e-05/0.003895, allocations: 170.5 kB / 267.8 MB, free: 6.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.811e-06/0.0039, allocations: 25.7 kB / 267.8 MB, free: 6.789 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.391e-05/0.003924, allocations: 92.11 kB / 267.9 MB, free: 6.695 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.21e-07/0.003925, allocations: 0 / 267.9 MB, free: 6.695 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.003939, allocations: 13.72 kB / 268 MB, free: 6.676 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.843e-05/0.004008, allocations: 322.8 kB / 268.3 MB, free: 6.352 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-06/0.00401, allocations: 0 / 268.3 MB, free: 6.352 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.495e-06/0.004012, allocations: 8 kB / 268.3 MB, free: 6.344 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.522e-05/0.004028, allocations: 75.28 kB / 268.3 MB, free: 6.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.585e-05/0.004043, allocations: 79.27 kB / 268.4 MB, free: 6.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.054e-05/0.004074, allocations: 33.69 kB / 268.5 MB, free: 6.152 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.004097, allocations: 83.28 kB / 268.5 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.004114, allocations: 79.22 kB / 268.6 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.354e-05/0.004147, allocations: 150.6 kB / 268.8 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.406e-05/0.004172, allocations: 83.22 kB / 268.8 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.819e-05/0.0042, allocations: 154.5 kB / 269 MB, free: 5.609 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.004244, allocations: 79.27 kB / 269.1 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.00426, allocations: 87.22 kB / 269.2 MB, free: 5.445 MB / 266.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 7.111e-05/0.004331, allocations: 264.3 kB / 269.4 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.004361, allocations: 105 kB / 269.5 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.004398, allocations: 117.4 kB / 269.6 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-05/0.004434, allocations: 180.3 kB / 269.8 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.512e-05/0.004469, allocations: 180.3 kB / 270 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.619e-05/0.004505, allocations: 184.2 kB / 270.2 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.004625, allocations: 333.4 kB / 270.5 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.087e-05/0.004645, allocations: 108.9 kB / 270.6 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.958e-05/0.004665, allocations: 101 kB / 270.7 MB, free: 3.816 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.004697, allocations: 124.9 kB / 270.8 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002772/0.004974, allocations: 184.2 kB / 271 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.00501, allocations: 184.2 kB / 271.2 MB, free: 3.312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-05/0.005043, allocations: 180.2 kB / 271.4 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.313e-05/0.005077, allocations: 180.3 kB / 271.5 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.861e-05/0.005155, allocations: 316.1 kB / 271.8 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.005196, allocations: 176.3 kB / 272 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.833e-05/0.005244, allocations: 108.9 kB / 272.1 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.005282, allocations: 184.3 kB / 272.3 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.005304, allocations: 108.9 kB / 272.4 MB, free: 2.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.845e-05/0.005332, allocations: 41.86 kB / 272.4 MB, free: 1.977 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005332, allocations: 8 kB / 272.5 MB, free: 1.969 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001297/0.005462, allocations: 8 kB / 272.5 MB, free: 1.961 MB / 266.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 6.533e-05/0.005527, allocations: 151.6 kB / 272.6 MB, free: 1.805 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.754e-05/0.005555, allocations: 0 / 272.6 MB, free: 1.805 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.005559, allocations: 4 kB / 272.6 MB, free: 1.801 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.005559, allocations: 4 kB / 272.6 MB, free: 1.797 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.005829, allocations: 499.5 kB / 273.1 MB, free: 1.305 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006238/0.01207, allocations: 0.5266 MB / 273.6 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.78e-05/0.0121, allocations: 59.34 kB / 273.7 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.229e-05/0.01212, allocations: 3.984 kB / 273.7 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.01218, allocations: 63.36 kB / 273.8 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01218, allocations: 0 / 273.8 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of Templates: time 0.09599/0.1082, allocations: 1.194 MB / 275 MB, free: 10.38 MB / 266.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: 2.55676490906626]