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.0006503/0.0006503, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008794/0.00153, allocations: 440 kB / 10.41 MB, free: 284 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.0006548/0.0006548, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008839/0.001539, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9975/0.9975, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1091/1.107, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.06952/0.06952, allocations: 12.75 MB / 256.9 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02154/0.09106, allocations: 4.834 MB / 261.7 MB, free: 13.15 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.362e-06/1.362e-06, allocations: 0 / 263.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.891e-05, allocations: 2.312 kB / 263.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.Units): time 0.002406/0.002425, allocations: 1.924 MB / 265 MB, free: 9.875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001474/0.002572, allocations: 67.69 kB / 265 MB, free: 9.809 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.585e-05/0.002598, allocations: 0 / 265 MB, free: 9.809 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.002616, allocations: 19.78 kB / 265.1 MB, free: 9.789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.537e-05/0.002701, allocations: 55.48 kB / 265.1 MB, free: 9.734 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.507e-06/0.002704, allocations: 0 / 265.1 MB, free: 9.734 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.257e-05/0.002797, allocations: 107.1 kB / 265.2 MB, free: 9.629 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4e-05/0.002837, allocations: 8 kB / 265.2 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.407e-05/0.002921, allocations: 60.53 kB / 265.3 MB, free: 9.562 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.725e-05/0.002988, allocations: 19.94 kB / 265.3 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.003002, allocations: 0 / 265.3 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.003012, allocations: 0 / 265.3 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.003027, allocations: 7.938 kB / 265.3 MB, free: 9.535 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.003058, allocations: 23.94 kB / 265.3 MB, free: 9.512 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.946e-05/0.003147, allocations: 51.78 kB / 265.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.003158, allocations: 0 / 265.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003158, allocations: 4 kB / 265.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.003167, allocations: 0 / 265.4 MB, free: 9.457 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.0007809/0.003948, allocations: 300.1 kB / 265.7 MB, free: 9.137 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.693e-05/0.003975, allocations: 15.97 kB / 265.7 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.00401, allocations: 84.2 kB / 265.8 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.865e-05/0.004108, allocations: 213.4 kB / 266 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.004141, allocations: 150.9 kB / 266.1 MB, free: 8.656 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.004175, allocations: 154.9 kB / 266.3 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.673e-05/0.004221, allocations: 105.5 kB / 266.4 MB, free: 8.395 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.004239, allocations: 79.47 kB / 266.5 MB, free: 8.316 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.00427, allocations: 150.9 kB / 266.6 MB, free: 8.168 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/0.004303, allocations: 154.9 kB / 266.8 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.004464, allocations: 154.5 kB / 266.9 MB, free: 7.863 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.004601, allocations: 365.3 kB / 267.3 MB, free: 7.492 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.384e-05/0.004655, allocations: 169.1 kB / 267.4 MB, free: 7.316 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.004673, allocations: 84.14 kB / 267.5 MB, free: 7.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.004689, allocations: 75.28 kB / 267.6 MB, free: 7.156 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.004728, allocations: 109.9 kB / 267.7 MB, free: 7.039 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 5.91e-07/0.004729, allocations: 0 / 267.7 MB, free: 7.039 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.082e-05/0.004779, allocations: 37.7 kB / 267.7 MB, free: 6.996 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.004817, allocations: 130.7 kB / 267.9 MB, free: 6.855 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.475e-05/0.004912, allocations: 166.5 kB / 268 MB, free: 6.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.004918, allocations: 25.7 kB / 268.1 MB, free: 6.648 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.599e-05/0.004944, allocations: 96.11 kB / 268.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.01e-07/0.004944, allocations: 0 / 268.2 MB, free: 6.551 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.255e-05/0.004957, allocations: 9.719 kB / 268.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.005025, allocations: 326.8 kB / 268.5 MB, free: 6.207 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-06/0.005027, allocations: 0 / 268.5 MB, free: 6.207 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.344e-06/0.00503, allocations: 0 / 268.5 MB, free: 6.207 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.616e-05/0.005046, allocations: 79.27 kB / 268.6 MB, free: 6.129 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.6e-05/0.005062, allocations: 75.28 kB / 268.6 MB, free: 6.055 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.745e-05/0.005099, allocations: 37.7 kB / 268.7 MB, free: 6.012 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.005129, allocations: 87.27 kB / 268.8 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.005146, allocations: 79.22 kB / 268.8 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.694e-05/0.005183, allocations: 154.6 kB / 269 MB, free: 5.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.55e-05/0.005198, allocations: 79.22 kB / 269.1 MB, free: 5.617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.938e-05/0.005228, allocations: 154.5 kB / 269.2 MB, free: 5.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.005274, allocations: 79.28 kB / 269.3 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.005289, allocations: 79.22 kB / 269.4 MB, free: 5.309 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.619e-05/0.005366, allocations: 268.3 kB / 269.6 MB, free: 5.035 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.005399, allocations: 109 kB / 269.7 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.005439, allocations: 125.4 kB / 269.9 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.331e-05/0.005473, allocations: 180.3 kB / 270 MB, free: 4.609 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.394e-05/0.005507, allocations: 176.3 kB / 270.2 MB, free: 4.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.505e-05/0.005542, allocations: 184.2 kB / 270.4 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/0.005953, allocations: 333.4 kB / 270.7 MB, free: 3.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-05/0.005978, allocations: 112.9 kB / 270.8 MB, free: 3.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/0.006, allocations: 109 kB / 270.9 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.006032, allocations: 116.9 kB / 271 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.03e-05/0.006072, allocations: 180.2 kB / 271.2 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.034e-05/0.006112, allocations: 180.3 kB / 271.4 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.461e-05/0.006147, allocations: 180.2 kB / 271.6 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.335e-05/0.00618, allocations: 184.2 kB / 271.8 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.772e-05/0.006268, allocations: 320.1 kB / 272.1 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.006311, allocations: 180.3 kB / 272.2 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.977e-05/0.006361, allocations: 104.9 kB / 272.3 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.006397, allocations: 176.3 kB / 272.5 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.00642, allocations: 108.9 kB / 272.6 MB, free: 1.879 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.319e-05/0.006454, allocations: 49.84 kB / 272.7 MB, free: 1.828 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006454, allocations: 0 / 272.7 MB, free: 1.828 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001241/0.006578, allocations: 12 kB / 272.7 MB, free: 1.816 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.926e-05/0.006647, allocations: 147.6 kB / 272.8 MB, free: 1.664 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.419e-05/0.006681, allocations: 11.98 kB / 272.8 MB, free: 1.652 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.006684, allocations: 0 / 272.8 MB, free: 1.652 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.013e-06/0.006686, allocations: 0 / 272.8 MB, free: 1.652 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.007045, allocations: 0.8431 MB / 273.7 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005993/0.01304, allocations: 0.4994 MB / 274.2 MB, free: 188 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.448e-05/0.01307, allocations: 59.34 kB / 274.2 MB, free: 108 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.431e-05/0.0131, allocations: 8 kB / 274.2 MB, free: 100 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.01317, allocations: 67.34 kB / 274.3 MB, free: 32 kB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01317, allocations: 0 / 274.3 MB, free: 32 kB / 266.7 MB Notification: Performance of Templates: time 0.1024/0.1156, allocations: 1.193 MB / 275.5 MB, free: 10.52 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.575992270372808]