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.001031/0.001031, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001537/0.001537, allocations: 177 kB / 23.36 MB, free: 1.137 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.07/1.07, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.06315/0.06315, allocations: 12.76 MB / 273 MB, free: 176 kB / 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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 293.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.902e-05, allocations: 3.438 kB / 293.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.MuscleHeat): time 0.003673/0.003702, allocations: 2.23 MB / 296.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003814/0.004083, allocations: 104.2 kB / 296.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.427e-05/0.004167, allocations: 10.12 kB / 296.3 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.004285, allocations: 18.83 kB / 296.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.537e-05/0.004381, allocations: 37.45 kB / 296.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001427/0.004523, allocations: 24.33 kB / 296.3 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.00468, allocations: 128.1 kB / 296.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.004793, allocations: 20.16 kB / 296.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.004909, allocations: 57.28 kB / 296.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.005019, allocations: 26.12 kB / 296.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.00504, allocations: 11.31 kB / 296.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.897e-05/0.005059, allocations: 6.469 kB / 296.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.005081, allocations: 17.19 kB / 296.6 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.005116, allocations: 37.58 kB / 296.6 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.00524, allocations: 64.73 kB / 296.7 MB, free: 10.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005242, allocations: 0 / 296.7 MB, free: 10.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005243, allocations: 0.9375 kB / 296.7 MB, free: 10.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.005247, allocations: 0 / 296.7 MB, free: 10.19 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003275/0.005575, allocations: 296.6 kB / 297 MB, free: 9.922 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.005608, allocations: 13.52 kB / 297 MB, free: 9.918 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.005646, allocations: 14.58 kB / 297 MB, free: 9.914 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.00579, allocations: 144 kB / 297.1 MB, free: 9.766 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.005808, allocations: 4.406 kB / 297.2 MB, free: 9.766 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.005832, allocations: 9.031 kB / 297.2 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.00594, allocations: 53.88 kB / 297.2 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.005952, allocations: 192 / 297.2 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.547e-06/0.005961, allocations: 1.719 kB / 297.2 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.005969, allocations: 2.219 kB / 297.2 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.751e-05/0.006016, allocations: 21.27 kB / 297.2 MB, free: 9.719 MB / 266.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.0003343/0.006351, allocations: 225.1 kB / 297.5 MB, free: 9.543 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.665e-05/0.006427, allocations: 44.03 kB / 297.5 MB, free: 9.508 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.006451, allocations: 13.48 kB / 297.5 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.00646, allocations: 1.344 kB / 297.5 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.006478, allocations: 32.69 kB / 297.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.006479, allocations: 0 / 297.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001205/0.0066, allocations: 55.45 kB / 297.6 MB, free: 9.422 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/0.006621, allocations: 52.53 kB / 297.7 MB, free: 9.359 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.288e-05/0.006683, allocations: 133.8 kB / 297.8 MB, free: 9.242 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.006689, allocations: 25.7 kB / 297.8 MB, free: 9.211 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/0.006718, allocations: 104.7 kB / 297.9 MB, free: 9.113 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.006744, allocations: 15.22 kB / 297.9 MB, free: 9.102 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.006777, allocations: 23.42 kB / 298 MB, free: 9.078 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.83e-05/0.006816, allocations: 319.4 kB / 298.3 MB, free: 8.762 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.006826, allocations: 4.203 kB / 298.3 MB, free: 8.762 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.179e-05/0.006838, allocations: 12.17 kB / 298.3 MB, free: 8.754 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.041e-05/0.006888, allocations: 29.05 kB / 298.3 MB, free: 8.742 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.006892, allocations: 4.641 kB / 298.3 MB, free: 8.738 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.649e-05/0.006948, allocations: 54.3 kB / 298.4 MB, free: 8.699 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.006962, allocations: 5.438 kB / 298.4 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.006967, allocations: 0 / 298.4 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.00698, allocations: 1.578 kB / 298.4 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.007067, allocations: 13.81 kB / 298.4 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.007071, allocations: 1.281 kB / 298.4 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/0.007089, allocations: 9.297 kB / 298.4 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.007094, allocations: 0.625 kB / 298.4 MB, free: 8.688 MB / 266.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 9.292e-05/0.007187, allocations: 113.7 kB / 298.5 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.007208, allocations: 9.625 kB / 298.5 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.007244, allocations: 16.12 kB / 298.5 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.007247, allocations: 0 / 298.5 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.00725, allocations: 1.672 kB / 298.5 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007253, allocations: 0 / 298.5 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.007357, allocations: 81.38 kB / 298.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.007359, allocations: 0 / 298.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.007419, allocations: 13.86 kB / 298.6 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.007421, allocations: 3.938 kB / 298.6 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.007435, allocations: 5.953 kB / 298.6 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007436, allocations: 0 / 298.6 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.007437, allocations: 4 kB / 298.6 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.007556, allocations: 152.1 kB / 298.8 MB, free: 8.328 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.007575, allocations: 12.41 kB / 298.8 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.007584, allocations: 1.156 kB / 298.8 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.269e-05/0.007617, allocations: 5.875 kB / 298.8 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.007629, allocations: 2.438 kB / 298.8 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.007632, allocations: 1.125 kB / 298.8 MB, free: 8.316 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.583e-05/0.007658, allocations: 19.41 kB / 298.8 MB, free: 8.309 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007658, allocations: 0 / 298.8 MB, free: 8.309 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001283/0.007786, allocations: 15.94 kB / 298.8 MB, free: 8.309 MB / 266.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 6.245e-05/0.007849, allocations: 83.41 kB / 298.9 MB, free: 8.227 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.404e-05/0.007913, allocations: 22.14 kB / 298.9 MB, free: 8.219 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.007916, allocations: 1.25 kB / 299 MB, free: 8.219 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.648e-05/0.007933, allocations: 25.73 kB / 299 MB, free: 8.199 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.008096, allocations: 17.53 kB / 299 MB, free: 8.191 MB / 266.7 MB Error: Error parsing unit kcal: Unit not found Error: Error parsing unit kcal/(kg.K): Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007443/0.00884, allocations: 276.2 kB / 299.3 MB, free: 7.984 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.88e-05/0.008869, allocations: 60.83 kB / 299.3 MB, free: 7.914 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.946e-05/0.008898, allocations: 8.203 kB / 299.3 MB, free: 7.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/0.00895, allocations: 60.44 kB / 299.4 MB, free: 7.863 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.00895, allocations: 0 / 299.4 MB, free: 7.863 MB / 266.7 MB Notification: Performance of Templates: time 0.002634/0.01158, allocations: 0.7717 MB / 300.2 MB, free: 7.758 MB / 266.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Bodylight_Bodylight.Thermal.Examples.MuscleHeat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.775777983944863]