Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Thermal.Examples.MuscleHeat.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.002535/0.002535, 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.003067/0.003067, allocations: 207.9 kB / 22.25 MB, free: 3.57 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.831/1.831, allocations: 230.6 MB / 256 MB, free: 9.586 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.1018/0.1018, allocations: 17.16 MB / 329.6 MB, free: 0.7148 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.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Thermal.Examples.MuscleHeat") translateModel(Bodylight.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Thermal.Examples.MuscleHeat") [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.01108/0.01108, allocations: 71.89 kB / 460.7 MB, free: 26.38 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1453, allocations: 57.76 MB / 0.5063 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.MuscleHeat): time 0.003893/0.1492, allocations: 2.079 MB / 0.5083 GB, free: 14.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003263/0.1496, allocations: 107.6 kB / 0.5084 GB, free: 14.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.642e-05/0.1497, allocations: 0 / 0.5084 GB, free: 14.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.1498, allocations: 11.86 kB / 0.5084 GB, free: 14.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.942e-05/0.1499, allocations: 47.58 kB / 0.5085 GB, free: 14.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/0.15, allocations: 27.97 kB / 0.5085 GB, free: 14.24 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.1502, allocations: 115.4 kB / 0.5086 GB, free: 14.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.1503, allocations: 16 kB / 0.5086 GB, free: 14.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.616e-05/0.1504, allocations: 47.78 kB / 0.5087 GB, free: 14.06 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.1505, allocations: 35.78 kB / 0.5087 GB, free: 14.03 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.1505, allocations: 8 kB / 0.5087 GB, free: 14.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.88e-05/0.1506, allocations: 8 kB / 0.5087 GB, free: 14.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.1506, allocations: 11.94 kB / 0.5087 GB, free: 14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.85e-05/0.1506, allocations: 43.86 kB / 0.5088 GB, free: 13.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.1508, allocations: 95.58 kB / 0.5089 GB, free: 13.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1508, allocations: 0 / 0.5089 GB, free: 13.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1508, allocations: 0 / 0.5089 GB, free: 13.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1508, allocations: 0 / 0.5089 GB, free: 13.86 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006101/0.1514, allocations: 325.9 kB / 0.5092 GB, free: 13.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1515, allocations: 8.031 kB / 0.5092 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.1515, allocations: 8.891 kB / 0.5092 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.1518, allocations: 142.4 kB / 0.5093 GB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1518, allocations: 12.31 kB / 0.5093 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.1518, allocations: 4.375 kB / 0.5093 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.152, allocations: 72.91 kB / 0.5094 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.152, allocations: 192 / 0.5094 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.152, allocations: 7.938 kB / 0.5094 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.152, allocations: 7.984 kB / 0.5094 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.301e-05/0.1521, allocations: 35.98 kB / 0.5095 GB, free: 13.19 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005778/0.1527, allocations: 288.2 kB / 0.5097 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.1528, allocations: 54.56 kB / 0.5098 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.1529, allocations: 28.91 kB / 0.5098 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.1529, allocations: 4 kB / 0.5098 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.1529, allocations: 30.56 kB / 0.5098 GB, free: 12.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1529, allocations: 0 / 0.5098 GB, free: 12.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002245/0.1532, allocations: 81.83 kB / 0.5099 GB, free: 12.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.1532, allocations: 51.41 kB / 0.51 GB, free: 12.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.1534, allocations: 125.8 kB / 0.5101 GB, free: 12.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.1534, allocations: 33.7 kB / 0.5101 GB, free: 12.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.22e-05/0.1534, allocations: 104.1 kB / 0.5102 GB, free: 12.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.1535, allocations: 23.83 kB / 0.5102 GB, free: 12.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.1535, allocations: 17.72 kB / 0.5103 GB, free: 12.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.1537, allocations: 326.8 kB / 0.5106 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.017e-05/0.1537, allocations: 11.94 kB / 0.5106 GB, free: 11.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.586e-05/0.1537, allocations: 12 kB / 0.5106 GB, free: 11.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.154, allocations: 68.83 kB / 0.5107 GB, free: 11.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.154, allocations: 4 kB / 0.5107 GB, free: 11.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001158/0.1542, allocations: 65.64 kB / 0.5107 GB, free: 11.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1542, allocations: 15.28 kB / 0.5107 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.1542, allocations: 0 / 0.5107 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1542, allocations: 0 / 0.5107 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.206e-05/0.1543, allocations: 11.94 kB / 0.5108 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1543, allocations: 0 / 0.5108 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.593e-05/0.1543, allocations: 7.875 kB / 0.5108 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1543, allocations: 4 kB / 0.5108 GB, free: 11.74 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: muscle.relativeHeat:VARIABLE(flow=false unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real 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 (6): * Single equations (assignments): 6 * 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.0001474/0.1545, allocations: 120.8 kB / 0.5109 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.1545, allocations: 11.95 kB / 0.5109 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.1545, allocations: 12.06 kB / 0.5109 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1545, allocations: 0 / 0.5109 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1545, allocations: 4 kB / 0.5109 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1546, allocations: 3.938 kB / 0.5109 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.1547, allocations: 129.3 kB / 0.511 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1547, allocations: 256 / 0.511 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.402e-05/0.1548, allocations: 12 kB / 0.511 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1548, allocations: 0 / 0.511 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.1548, allocations: 0 / 0.511 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.1548, allocations: 0 / 0.511 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1548, allocations: 0 / 0.511 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.1551, allocations: 195.4 kB / 0.5112 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.1551, allocations: 7.984 kB / 0.5112 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.1551, allocations: 0 / 0.5112 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.286e-05/0.1552, allocations: 0 / 0.5112 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.1552, allocations: 11.98 kB / 0.5113 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1552, allocations: 0 / 0.5113 GB, free: 11.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.844e-05/0.1553, allocations: 97.66 kB / 0.5113 GB, free: 11.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1553, allocations: 3.938 kB / 0.5114 GB, free: 11.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002256/0.1555, allocations: 19.94 kB / 0.5114 GB, free: 11.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (muscle.relativeHeat) * 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 (5): * Single equations (assignments): 5 * 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.0001105/0.1556, allocations: 107.1 kB / 0.5115 GB, free: 10.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.1557, allocations: 39.92 kB / 0.5115 GB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1557, allocations: 0 / 0.5115 GB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.283e-05/0.1558, allocations: 16 kB / 0.5115 GB, free: 10.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.1561, allocations: 15.98 kB / 0.5115 GB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005699/0.1566, allocations: 262.6 kB / 0.5118 GB, free: 10.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.1e-05/0.1567, allocations: 83.19 kB / 0.5119 GB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.421e-05/0.1568, allocations: 3.984 kB / 0.5119 GB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.1568, allocations: 11.44 kB / 0.5119 GB, free: 10.48 MB / 378.7 MB Notification: Performance of SimCode: time 4.3e-07/0.1568, allocations: 4 kB / 0.5119 GB, free: 10.48 MB / 378.7 MB Notification: Performance of Templates: time 0.003622/0.1604, allocations: 0.8201 MB / 0.5127 GB, free: 9.676 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Thermal.Examples.MuscleHeat.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Thermal.Examples.MuscleHeat.pipe ; mkfifo Bodylight_Bodylight.Thermal.Examples.MuscleHeat.pipe ; head -c 1048576 < Bodylight_Bodylight.Thermal.Examples.MuscleHeat.pipe >> ../files/Bodylight_Bodylight.Thermal.Examples.MuscleHeat.sim & ./Bodylight_Bodylight.Thermal.Examples.MuscleHeat -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Thermal.Examples.MuscleHeat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.70141775906086]