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.001133/0.001133, allocations: 88.42 kB / 19.94 MB, free: 4.613 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.0009904/0.0009904, allocations: 173.9 kB / 23.21 MB, free: 1.332 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.9665/0.9665, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.05776/0.05776, allocations: 12.74 MB / 272.7 MB, free: 0.5 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: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 403.1 MB, free: 8.859 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.829e-05, allocations: 5.234 kB / 403.1 MB, free: 8.855 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.Units): time 0.003037/0.003066, allocations: 1.765 MB / 404.9 MB, free: 7.078 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001304/0.003196, allocations: 63.67 kB / 405 MB, free: 7.016 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.625e-05/0.003242, allocations: 0 / 405 MB, free: 7.016 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.939e-05/0.003272, allocations: 11.92 kB / 405 MB, free: 7.004 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.003403, allocations: 55.48 kB / 405 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.013e-06/0.00341, allocations: 0 / 405 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.003536, allocations: 107 kB / 405.1 MB, free: 6.844 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.874e-05/0.003594, allocations: 4 kB / 405.1 MB, free: 6.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.742e-05/0.003652, allocations: 35.91 kB / 405.2 MB, free: 6.805 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.148e-05/0.003733, allocations: 27.94 kB / 405.2 MB, free: 6.777 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.003746, allocations: 0 / 405.2 MB, free: 6.777 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.003758, allocations: 0 / 405.2 MB, free: 6.777 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.003769, allocations: 3.938 kB / 405.2 MB, free: 6.773 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.003807, allocations: 23.94 kB / 405.2 MB, free: 6.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.00391, allocations: 59.77 kB / 405.3 MB, free: 6.691 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.003913, allocations: 0 / 405.3 MB, free: 6.691 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.003914, allocations: 0 / 405.3 MB, free: 6.691 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.003918, allocations: 0 / 405.3 MB, free: 6.691 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003104/0.004229, allocations: 321.7 kB / 405.6 MB, free: 6.344 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.004276, allocations: 11.98 kB / 405.6 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.838e-05/0.004334, allocations: 88.17 kB / 405.7 MB, free: 6.246 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.004469, allocations: 209.3 kB / 405.9 MB, free: 6.016 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.843e-05/0.004518, allocations: 158.9 kB / 406.1 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.004559, allocations: 150.9 kB / 406.2 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.096e-05/0.00462, allocations: 101.5 kB / 406.3 MB, free: 5.605 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.004646, allocations: 79.47 kB / 406.4 MB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.681e-05/0.004693, allocations: 150.9 kB / 406.5 MB, free: 5.379 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/0.004738, allocations: 154.9 kB / 406.7 MB, free: 5.227 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.497e-05/0.004783, allocations: 158.4 kB / 406.8 MB, free: 5.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002636/0.005046, allocations: 421.5 kB / 407.2 MB, free: 4.629 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.718e-05/0.005123, allocations: 177.1 kB / 407.4 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.005153, allocations: 80.14 kB / 407.5 MB, free: 4.363 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.005179, allocations: 75.28 kB / 407.6 MB, free: 4.289 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.005221, allocations: 109.8 kB / 407.7 MB, free: 4.172 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.005222, allocations: 0 / 407.7 MB, free: 4.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 8.288e-05/0.005305, allocations: 37.59 kB / 407.7 MB, free: 4.129 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.005358, allocations: 126.7 kB / 407.8 MB, free: 3.992 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.005537, allocations: 174.7 kB / 408 MB, free: 3.809 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.005548, allocations: 25.7 kB / 408 MB, free: 3.777 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.005598, allocations: 108.1 kB / 408.1 MB, free: 3.668 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.0056, allocations: 0 / 408.1 MB, free: 3.668 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.005622, allocations: 21.66 kB / 408.2 MB, free: 3.641 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.005718, allocations: 322.8 kB / 408.5 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-06/0.005723, allocations: 0 / 408.5 MB, free: 3.316 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-06/0.005727, allocations: 0 / 408.5 MB, free: 3.316 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.233e-05/0.005749, allocations: 75.28 kB / 408.5 MB, free: 3.242 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.115e-05/0.00577, allocations: 75.28 kB / 408.6 MB, free: 3.168 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.719e-05/0.005837, allocations: 45.55 kB / 408.7 MB, free: 3.117 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.00587, allocations: 79.28 kB / 408.7 MB, free: 3.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.005892, allocations: 75.28 kB / 408.8 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.435e-05/0.005946, allocations: 154.6 kB / 409 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.278e-05/0.005969, allocations: 87.22 kB / 409.1 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.149e-05/0.006011, allocations: 154.6 kB / 409.2 MB, free: 2.574 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.566e-05/0.006096, allocations: 87.14 kB / 409.3 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.006117, allocations: 79.28 kB / 409.4 MB, free: 2.41 MB / 330.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.0001059/0.006223, allocations: 264.4 kB / 409.6 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.00628, allocations: 108.9 kB / 409.7 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.165e-05/0.006331, allocations: 125.2 kB / 409.9 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-05/0.006379, allocations: 176.3 kB / 410 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.296e-05/0.006432, allocations: 184.2 kB / 410.2 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-05/0.006482, allocations: 180.2 kB / 410.4 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.006681, allocations: 376.8 kB / 410.7 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-05/0.006712, allocations: 108.9 kB / 410.9 MB, free: 0.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.006743, allocations: 109 kB / 411 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.052e-05/0.006794, allocations: 184.1 kB / 411.1 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.063e-05/0.006845, allocations: 176.3 kB / 411.3 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.102e-05/0.006896, allocations: 184.2 kB / 411.5 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.148/0.1549, allocations: 179.8 kB / 411.7 MB, free: 21.92 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.016e-05/0.155, allocations: 313.2 kB / 412 MB, free: 21.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/0.155, allocations: 117.1 kB / 412.1 MB, free: 21.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.155, allocations: 183.5 kB / 412.3 MB, free: 21.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.77e-05/0.1551, allocations: 103.4 kB / 412.4 MB, free: 21.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.1551, allocations: 186.6 kB / 412.6 MB, free: 21.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.1551, allocations: 108.6 kB / 412.7 MB, free: 20.94 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.016e-05/0.1552, allocations: 124.8 kB / 412.8 MB, free: 20.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1552, allocations: 0 / 412.8 MB, free: 20.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001571/0.1553, allocations: 11.52 kB / 412.8 MB, free: 20.86 MB / 330.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 7.107e-05/0.1554, allocations: 169.2 kB / 413 MB, free: 20.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.448e-05/0.1555, allocations: 5.781 kB / 413 MB, free: 20.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1555, allocations: 0 / 413 MB, free: 20.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.1555, allocations: 2.281 kB / 413 MB, free: 20.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.1557, allocations: 481 kB / 413.4 MB, free: 20.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.156, allocations: 362.2 kB / 413.8 MB, free: 19.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.967e-05/0.1561, allocations: 79.89 kB / 413.9 MB, free: 19.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.989e-06/0.1561, allocations: 9.875 kB / 413.9 MB, free: 19.91 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1561, allocations: 0 / 413.9 MB, free: 19.91 MB / 330.7 MB Notification: Performance of Templates: time 0.001752/0.1578, allocations: 1.042 MB / 414.9 MB, free: 19.88 MB / 330.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 > Bodylight_Bodylight.Types.Examples.Units.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.450624766759574]