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.00149/0.00149, allocations: 80.88 kB / 20.8 MB, free: 3.656 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.001295/0.001295, allocations: 165 kB / 24.22 MB, free: 244 kB / 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.078/1.078, allocations: 177.1 MB / 204.7 MB, free: 5.441 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.06423/0.06423, allocations: 12.76 MB / 273.9 MB, free: 116 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.363e-06/1.363e-06, allocations: 0 / 294.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.495e-05, allocations: 5.094 kB / 294.9 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.MuscleHeat): time 0.002568/0.002583, allocations: 2.224 MB / 297.1 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003526/0.002935, allocations: 114.7 kB / 297.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.306e-05/0.002998, allocations: 1.188 kB / 297.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.003106, allocations: 19.86 kB / 297.2 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.259e-05/0.003168, allocations: 37.89 kB / 297.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001129/0.003281, allocations: 27.86 kB / 297.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.003425, allocations: 123.4 kB / 297.4 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.168e-05/0.003516, allocations: 24.33 kB / 297.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.769e-05/0.003584, allocations: 57.53 kB / 297.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.09e-05/0.003665, allocations: 26.11 kB / 297.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.003684, allocations: 10.19 kB / 297.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.711e-05/0.003701, allocations: 6.469 kB / 297.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.003721, allocations: 17.25 kB / 297.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.003755, allocations: 33.8 kB / 297.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.003881, allocations: 65.91 kB / 297.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003882, allocations: 0 / 297.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.003883, allocations: 0 / 297.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.003886, allocations: 0 / 297.6 MB, free: 10.13 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.0002831/0.004169, allocations: 304 kB / 297.9 MB, free: 9.852 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.004199, allocations: 14.64 kB / 298 MB, free: 9.848 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.004231, allocations: 14.7 kB / 298 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.004359, allocations: 138.2 kB / 298.1 MB, free: 9.703 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.00437, allocations: 3.469 kB / 298.1 MB, free: 9.703 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.004393, allocations: 7.875 kB / 298.1 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.679e-05/0.00448, allocations: 62.78 kB / 298.2 MB, free: 9.656 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.00449, allocations: 192 / 298.2 MB, free: 9.656 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.004499, allocations: 6.391 kB / 298.2 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.004505, allocations: 5.438 kB / 298.2 MB, free: 9.648 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.843e-05/0.004534, allocations: 17.17 kB / 298.2 MB, free: 9.645 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.0003039/0.004838, allocations: 216.1 kB / 298.4 MB, free: 9.477 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.918e-05/0.004907, allocations: 40.72 kB / 298.5 MB, free: 9.445 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/0.004926, allocations: 13.42 kB / 298.5 MB, free: 9.438 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.004934, allocations: 5.094 kB / 298.5 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.004949, allocations: 32.06 kB / 298.5 MB, free: 9.395 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.00495, allocations: 5.312 kB / 298.5 MB, free: 9.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001173/0.005068, allocations: 54.47 kB / 298.6 MB, free: 9.352 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.005094, allocations: 53.17 kB / 298.6 MB, free: 9.289 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.155e-05/0.005156, allocations: 126.6 kB / 298.7 MB, free: 9.176 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.161e-06/0.005162, allocations: 25.7 kB / 298.8 MB, free: 9.145 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.00519, allocations: 104.5 kB / 298.9 MB, free: 9.047 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.005213, allocations: 16.28 kB / 298.9 MB, free: 9.035 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.00524, allocations: 22.03 kB / 298.9 MB, free: 9.012 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.575e-05/0.005276, allocations: 319.7 kB / 299.2 MB, free: 8.695 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-06/0.005285, allocations: 8.062 kB / 299.2 MB, free: 8.691 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-06/0.005294, allocations: 4.203 kB / 299.2 MB, free: 8.691 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.401e-05/0.005338, allocations: 29.88 kB / 299.3 MB, free: 8.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.00534, allocations: 3.938 kB / 299.3 MB, free: 8.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.517e-05/0.005405, allocations: 49.97 kB / 299.3 MB, free: 8.641 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.005419, allocations: 5.375 kB / 299.3 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.005424, allocations: 1.625 kB / 299.3 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.005434, allocations: 0 / 299.3 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.00555, allocations: 14.14 kB / 299.3 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.005553, allocations: 0.6094 kB / 299.3 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.005582, allocations: 9.328 kB / 299.3 MB, free: 8.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.005587, allocations: 1.5 kB / 299.3 MB, free: 8.629 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 8.515e-05/0.005672, allocations: 122.3 kB / 299.5 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.005698, allocations: 4.719 kB / 299.5 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.00573, allocations: 11.45 kB / 299.5 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.005734, allocations: 1.438 kB / 299.5 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.005741, allocations: 4.453 kB / 299.5 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.005744, allocations: 3.984 kB / 299.5 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.576e-05/0.00584, allocations: 86.39 kB / 299.6 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.005841, allocations: 0 / 299.6 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.111e-05/0.005893, allocations: 13.22 kB / 299.6 MB, free: 8.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.005895, allocations: 9 kB / 299.6 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.005903, allocations: 4 kB / 299.6 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.005906, allocations: 1.688 kB / 299.6 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.005907, allocations: 0 / 299.6 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.765e-05/0.006004, allocations: 152.2 kB / 299.8 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.006023, allocations: 12.3 kB / 299.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-06/0.006032, allocations: 1.094 kB / 299.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.054e-05/0.006063, allocations: 1.781 kB / 299.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.083e-05/0.006074, allocations: 2.609 kB / 299.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.006077, allocations: 1.156 kB / 299.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.128e-05/0.006098, allocations: 26.06 kB / 299.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006098, allocations: 4.031 kB / 299.8 MB, free: 8.234 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001217/0.00622, allocations: 20.16 kB / 299.8 MB, free: 8.23 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 5.696e-05/0.006277, allocations: 71.11 kB / 299.9 MB, free: 8.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.046e-05/0.006347, allocations: 26.78 kB / 299.9 MB, free: 8.148 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.006349, allocations: 0 / 299.9 MB, free: 8.148 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.478e-05/0.006364, allocations: 19.39 kB / 299.9 MB, free: 8.137 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.006509, allocations: 16.17 kB / 299.9 MB, free: 8.129 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.0006584/0.007167, allocations: 275.7 kB / 300.2 MB, free: 7.922 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.622e-05/0.007193, allocations: 62.78 kB / 300.3 MB, free: 7.852 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.683e-05/0.00722, allocations: 3.406 kB / 300.3 MB, free: 7.852 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.007265, allocations: 59.02 kB / 300.3 MB, free: 7.805 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.007265, allocations: 0 / 300.3 MB, free: 7.805 MB / 266.7 MB Notification: Performance of Templates: time 0.002252/0.009517, allocations: 0.7809 MB / 301.1 MB, free: 7.691 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 -lv LOG_STATS > Bodylight_Bodylight.Thermal.Examples.MuscleHeat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9195062601938844]