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.002319/0.002319, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.002054/0.002054, allocations: 169.9 kB / 22.45 MB, free: 2.105 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.764/1.764, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.101/0.101, allocations: 12.74 MB / 271.9 MB, free: 0.4961 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 2.274e-06/2.274e-06, allocations: 0 / 403.1 MB, free: 8.051 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.261e-05/4.488e-05, allocations: 6.219 kB / 403.1 MB, free: 8.043 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.Units): time 0.004452/0.004497, allocations: 1.768 MB / 404.9 MB, free: 6.266 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001325/0.00463, allocations: 59.75 kB / 405 MB, free: 6.207 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.004679, allocations: 7.938 kB / 405 MB, free: 6.199 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.004711, allocations: 7.922 kB / 405 MB, free: 6.191 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.00485, allocations: 55.48 kB / 405 MB, free: 6.137 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.895e-06/0.004857, allocations: 0 / 405 MB, free: 6.137 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.005019, allocations: 103 kB / 405.1 MB, free: 6.035 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.205e-05/0.005091, allocations: 4 kB / 405.1 MB, free: 6.031 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.146e-05/0.005153, allocations: 35.91 kB / 405.2 MB, free: 5.996 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.005262, allocations: 31.88 kB / 405.2 MB, free: 5.965 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.005279, allocations: 0 / 405.2 MB, free: 5.965 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.351e-05/0.005292, allocations: 0 / 405.2 MB, free: 5.965 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.005307, allocations: 3.938 kB / 405.2 MB, free: 5.961 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.537e-05/0.005353, allocations: 24 kB / 405.2 MB, free: 5.938 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.005473, allocations: 59.7 kB / 405.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.005477, allocations: 0 / 405.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.005478, allocations: 0 / 405.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.005483, allocations: 0 / 405.3 MB, free: 5.879 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.0004208/0.005904, allocations: 321.7 kB / 405.6 MB, free: 5.531 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.00595, allocations: 11.98 kB / 405.6 MB, free: 5.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.035e-05/0.006031, allocations: 88.17 kB / 405.7 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.006235, allocations: 221.2 kB / 405.9 MB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.103e-05/0.006326, allocations: 154.9 kB / 406.1 MB, free: 5.039 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-05/0.006402, allocations: 150.9 kB / 406.2 MB, free: 4.891 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.447e-05/0.006496, allocations: 109.5 kB / 406.3 MB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.469e-05/0.006541, allocations: 79.47 kB / 406.4 MB, free: 4.699 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.102e-05/0.006622, allocations: 150.9 kB / 406.6 MB, free: 4.551 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.908e-05/0.006701, allocations: 150.9 kB / 406.7 MB, free: 4.402 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.346e-05/0.006784, allocations: 154.5 kB / 406.9 MB, free: 4.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.007146, allocations: 417.6 kB / 407.3 MB, free: 3.812 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.007266, allocations: 173.1 kB / 407.4 MB, free: 3.633 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.497e-05/0.007321, allocations: 88.14 kB / 407.5 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.752e-05/0.007369, allocations: 75.28 kB / 407.6 MB, free: 3.469 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.073e-05/0.007439, allocations: 105.8 kB / 407.7 MB, free: 3.355 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.00744, allocations: 0 / 407.7 MB, free: 3.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 8.89e-05/0.007529, allocations: 33.66 kB / 407.7 MB, free: 3.316 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.433e-05/0.007623, allocations: 134.6 kB / 407.9 MB, free: 3.172 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.007841, allocations: 170.7 kB / 408 MB, free: 2.992 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.00786, allocations: 25.7 kB / 408.1 MB, free: 2.961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.007941, allocations: 108.1 kB / 408.2 MB, free: 2.852 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.007942, allocations: 0 / 408.2 MB, free: 2.852 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.007965, allocations: 13.72 kB / 408.2 MB, free: 2.832 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.008147, allocations: 322.8 kB / 408.5 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-06/0.008151, allocations: 0 / 408.5 MB, free: 2.508 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-06/0.008154, allocations: 0 / 408.5 MB, free: 2.508 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.346e-05/0.008198, allocations: 75.28 kB / 408.6 MB, free: 2.434 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.759e-05/0.008235, allocations: 75.28 kB / 408.6 MB, free: 2.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.675e-05/0.008302, allocations: 41.61 kB / 408.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.973e-05/0.008352, allocations: 79.28 kB / 408.7 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.842e-05/0.0084, allocations: 83.22 kB / 408.8 MB, free: 2.152 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.75e-05/0.008488, allocations: 154.6 kB / 409 MB, free: 2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.377e-05/0.008531, allocations: 79.22 kB / 409.1 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.132e-05/0.008613, allocations: 162.6 kB / 409.2 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.888e-05/0.008711, allocations: 83.22 kB / 409.3 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/0.008758, allocations: 87.14 kB / 409.4 MB, free: 1.594 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.0001784/0.008936, allocations: 264.4 kB / 409.6 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.009039, allocations: 108.9 kB / 409.7 MB, free: 1.211 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.2e-05/0.009121, allocations: 125.2 kB / 409.9 MB, free: 1.086 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.775e-05/0.009219, allocations: 180.3 kB / 410 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001271/0.009346, allocations: 176.3 kB / 410.2 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001082/0.009454, allocations: 184.1 kB / 410.4 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.009753, allocations: 376.8 kB / 410.8 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.275e-05/0.009816, allocations: 116.9 kB / 410.9 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2023/0.2121, allocations: 105.6 kB / 411 MB, free: 21.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.059e-05/0.2121, allocations: 177.1 kB / 411.2 MB, free: 21.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.2121, allocations: 179.3 kB / 411.3 MB, free: 21.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.683e-05/0.2122, allocations: 186.4 kB / 411.5 MB, free: 21.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.456e-05/0.2122, allocations: 178.8 kB / 411.7 MB, free: 21.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.2123, allocations: 316.8 kB / 412 MB, free: 20.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.2123, allocations: 116.2 kB / 412.1 MB, free: 20.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.2124, allocations: 184.2 kB / 412.3 MB, free: 20.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.2125, allocations: 102 kB / 412.4 MB, free: 20.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.2125, allocations: 185.4 kB / 412.6 MB, free: 20.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.2125, allocations: 109.2 kB / 412.7 MB, free: 20.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.2126, allocations: 122.5 kB / 412.8 MB, free: 20.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2126, allocations: 0 / 412.8 MB, free: 20.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003477/0.213, allocations: 11.12 kB / 412.8 MB, free: 20.11 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 0.0001082/0.2131, allocations: 172.9 kB / 413 MB, free: 19.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.673e-05/0.2131, allocations: 5.297 kB / 413 MB, free: 19.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2131, allocations: 0 / 413 MB, free: 19.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.2131, allocations: 0 / 413 MB, free: 19.94 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.2135, allocations: 476.4 kB / 413.4 MB, free: 19.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.214, allocations: 331.9 kB / 413.8 MB, free: 19.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.358e-05/0.214, allocations: 78.89 kB / 413.9 MB, free: 19.19 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.311e-05/0.2141, allocations: 5.281 kB / 413.9 MB, free: 19.19 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.399e-05/0.2141, allocations: 10.09 kB / 413.9 MB, free: 19.18 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2141, allocations: 0 / 413.9 MB, free: 19.18 MB / 330.7 MB Notification: Performance of Templates: time 0.004291/0.2184, allocations: 1.02 MB / 414.9 MB, free: 19.09 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Types.Examples.Units.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.336995801888406]