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.001889/0.001889, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.00213/0.00213, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.664/1.664, allocations: 177.1 MB / 202.8 MB, free: 5.762 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.09098/0.09098, allocations: 12.74 MB / 271.9 MB, free: 0.5039 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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 403.1 MB, free: 8.125 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/2.963e-05, allocations: 2.281 kB / 403.1 MB, free: 8.121 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.MuscleHeat): time 0.003524/0.003554, allocations: 2.072 MB / 405.2 MB, free: 6.039 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003004/0.003854, allocations: 115.6 kB / 405.3 MB, free: 5.926 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.366e-05/0.003928, allocations: 0 / 405.3 MB, free: 5.926 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.004036, allocations: 19.8 kB / 405.3 MB, free: 5.906 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.937e-05/0.004136, allocations: 43.62 kB / 405.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.004264, allocations: 19.97 kB / 405.3 MB, free: 5.844 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.004475, allocations: 123.3 kB / 405.5 MB, free: 5.723 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.00459, allocations: 23.91 kB / 405.5 MB, free: 5.699 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.315e-05/0.004683, allocations: 55.89 kB / 405.5 MB, free: 5.645 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.629e-05/0.004779, allocations: 27.91 kB / 405.6 MB, free: 5.617 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.004808, allocations: 8 kB / 405.6 MB, free: 5.609 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.957e-05/0.004828, allocations: 4 kB / 405.6 MB, free: 5.605 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.004853, allocations: 19.92 kB / 405.6 MB, free: 5.586 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.634e-05/0.00491, allocations: 31.94 kB / 405.6 MB, free: 5.555 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.005088, allocations: 99.67 kB / 405.7 MB, free: 5.457 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.005092, allocations: 0 / 405.7 MB, free: 5.457 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005092, allocations: 3.938 kB / 405.7 MB, free: 5.453 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.005097, allocations: 3.938 kB / 405.7 MB, free: 5.449 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005182/0.005615, allocations: 314 kB / 406 MB, free: 5.109 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.005654, allocations: 15.98 kB / 406.1 MB, free: 5.094 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.005692, allocations: 12.84 kB / 406.1 MB, free: 5.082 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.005893, allocations: 133.7 kB / 406.2 MB, free: 4.926 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.005905, allocations: 8.359 kB / 406.2 MB, free: 4.918 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.005935, allocations: 8.375 kB / 406.2 MB, free: 4.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.006105, allocations: 79.92 kB / 406.3 MB, free: 4.828 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.006115, allocations: 4.125 kB / 406.3 MB, free: 4.824 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.006127, allocations: 4.359 kB / 406.3 MB, free: 4.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.006132, allocations: 384 / 406.3 MB, free: 4.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.713e-05/0.006229, allocations: 39.92 kB / 406.3 MB, free: 4.781 MB / 330.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.0005351/0.006764, allocations: 292.2 kB / 406.6 MB, free: 4.465 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.006904, allocations: 66.5 kB / 406.7 MB, free: 4.391 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.383e-05/0.006958, allocations: 16.98 kB / 406.7 MB, free: 4.371 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.006969, allocations: 0 / 406.7 MB, free: 4.371 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.007005, allocations: 38.55 kB / 406.8 MB, free: 4.324 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 7.51e-07/0.007006, allocations: 0 / 406.8 MB, free: 4.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002144/0.00722, allocations: 77.58 kB / 406.8 MB, free: 4.242 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.007272, allocations: 59.41 kB / 406.9 MB, free: 4.172 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.007396, allocations: 118.8 kB / 407 MB, free: 4.047 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.007417, allocations: 25.7 kB / 407 MB, free: 4.016 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.964e-05/0.007497, allocations: 104.2 kB / 407.1 MB, free: 3.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.007525, allocations: 19.83 kB / 407.1 MB, free: 3.891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.007565, allocations: 25.67 kB / 407.2 MB, free: 3.859 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.007742, allocations: 318.8 kB / 407.5 MB, free: 3.539 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.24e-05/0.007775, allocations: 15.98 kB / 407.5 MB, free: 3.523 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.947e-05/0.007804, allocations: 12 kB / 407.5 MB, free: 3.512 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.008093, allocations: 77.14 kB / 407.6 MB, free: 3.434 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.008095, allocations: 0 / 407.6 MB, free: 3.434 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001142/0.008209, allocations: 61.7 kB / 407.6 MB, free: 3.367 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.008221, allocations: 4 kB / 407.6 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.008228, allocations: 7.984 kB / 407.7 MB, free: 3.355 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.008241, allocations: 4 kB / 407.7 MB, free: 3.352 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.518e-05/0.008316, allocations: 8 kB / 407.7 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.008321, allocations: 0 / 407.7 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.401e-05/0.008355, allocations: 7.953 kB / 407.7 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.00836, allocations: 0 / 407.7 MB, free: 3.336 MB / 330.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.0001572/0.008517, allocations: 129.7 kB / 407.8 MB, free: 3.199 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.008542, allocations: 3.953 kB / 407.8 MB, free: 3.195 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.008579, allocations: 16.11 kB / 407.8 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.008581, allocations: 4 kB / 407.8 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.008584, allocations: 3.938 kB / 407.8 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.008587, allocations: 0 / 407.8 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.008785, allocations: 133.2 kB / 408 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.008786, allocations: 0 / 408 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.798e-05/0.008854, allocations: 8 kB / 408 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.008856, allocations: 0 / 408 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.008864, allocations: 0 / 408 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.008865, allocations: 7.938 kB / 408 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.008866, allocations: 0 / 408 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.009103, allocations: 195.4 kB / 408.2 MB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.009131, allocations: 12.05 kB / 408.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.009149, allocations: 3.984 kB / 408.2 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.096e-05/0.00921, allocations: 4 kB / 408.2 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.009228, allocations: 3.984 kB / 408.2 MB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.009234, allocations: 4 kB / 408.2 MB, free: 2.762 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.564e-05/0.009309, allocations: 97.38 kB / 408.3 MB, free: 2.668 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009309, allocations: 0 / 408.3 MB, free: 2.668 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002269/0.009536, allocations: 23.94 kB / 408.3 MB, free: 2.645 MB / 330.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.0001148/0.009651, allocations: 91.19 kB / 408.4 MB, free: 2.547 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.009771, allocations: 31.98 kB / 408.4 MB, free: 2.516 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.009772, allocations: 4 kB / 408.4 MB, free: 2.512 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.92e-05/0.009812, allocations: 19.94 kB / 408.5 MB, free: 2.492 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.01011, allocations: 19.83 kB / 408.5 MB, free: 2.473 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005449/0.01065, allocations: 233 kB / 408.7 MB, free: 2.219 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.794e-05/0.01074, allocations: 75.33 kB / 408.8 MB, free: 2.125 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.647e-05/0.01078, allocations: 7.781 kB / 408.8 MB, free: 2.117 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.0108, allocations: 8.5 kB / 408.8 MB, free: 2.109 MB / 330.7 MB Notification: Performance of SimCode: time 3.91e-07/0.0108, allocations: 0 / 408.8 MB, free: 2.109 MB / 330.7 MB Notification: Performance of Templates: time 0.003767/0.01457, allocations: 0.7178 MB / 409.5 MB, free: 1.41 MB / 330.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.264629094861448]