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.0006997/0.0006997, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009893/0.001689, 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.0007106/0.0007106, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009451/0.001656, 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.9512/0.9512, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08255/1.034, 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.05638/0.05638, allocations: 12.75 MB / 256.9 MB, free: 1.984 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008201/0.06458, allocations: 4.831 MB / 261.7 MB, free: 13.14 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.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.553e-06/1.553e-06, allocations: 0 / 263 MB, free: 11.88 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.085e-05, allocations: 2.312 kB / 263 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.MuscleHeat): time 0.003722/0.003753, allocations: 2.254 MB / 265.2 MB, free: 9.602 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002715/0.004025, allocations: 107.6 kB / 265.4 MB, free: 9.496 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.374e-05/0.004098, allocations: 7.938 kB / 265.4 MB, free: 9.488 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.767e-05/0.004176, allocations: 23.78 kB / 265.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.335e-05/0.004259, allocations: 39.62 kB / 265.4 MB, free: 9.426 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.366e-05/0.004353, allocations: 19.97 kB / 265.4 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.004536, allocations: 139.2 kB / 265.6 MB, free: 9.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.004637, allocations: 27.97 kB / 265.6 MB, free: 9.242 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.004751, allocations: 71.83 kB / 265.7 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.004859, allocations: 31.89 kB / 265.7 MB, free: 9.141 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.004886, allocations: 4 kB / 265.7 MB, free: 9.137 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.994e-05/0.004905, allocations: 8 kB / 265.7 MB, free: 9.129 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.004931, allocations: 11.94 kB / 265.7 MB, free: 9.117 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.004972, allocations: 31.94 kB / 265.8 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.005112, allocations: 63.77 kB / 265.8 MB, free: 9.023 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.005122, allocations: 0 / 265.8 MB, free: 9.023 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.005125, allocations: 8 kB / 265.8 MB, free: 9.016 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.005135, allocations: 0 / 265.8 MB, free: 9.016 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.0004516/0.005586, allocations: 312.3 kB / 266.1 MB, free: 8.684 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.005623, allocations: 8.031 kB / 266.1 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.005663, allocations: 12.92 kB / 266.2 MB, free: 8.664 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.005848, allocations: 140.9 kB / 266.3 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.005861, allocations: 8.359 kB / 266.3 MB, free: 8.496 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.005886, allocations: 8.375 kB / 266.3 MB, free: 8.488 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.005994, allocations: 58.22 kB / 266.4 MB, free: 8.426 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.006004, allocations: 8.125 kB / 266.4 MB, free: 8.418 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.006014, allocations: 4.375 kB / 266.4 MB, free: 8.414 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.00602, allocations: 384 / 266.4 MB, free: 8.414 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.156e-05/0.006062, allocations: 19.88 kB / 266.4 MB, free: 8.395 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.0004116/0.006473, allocations: 216.1 kB / 266.6 MB, free: 8.168 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.006579, allocations: 46.48 kB / 266.7 MB, free: 8.113 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.006604, allocations: 8.859 kB / 266.7 MB, free: 8.102 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.006614, allocations: 8 kB / 266.7 MB, free: 8.094 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.006644, allocations: 30.56 kB / 266.7 MB, free: 8.055 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.006645, allocations: 0 / 266.7 MB, free: 8.055 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001708/0.006816, allocations: 57.75 kB / 266.8 MB, free: 7.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.006856, allocations: 55.39 kB / 266.8 MB, free: 7.926 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.006959, allocations: 122.7 kB / 266.9 MB, free: 7.793 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.006974, allocations: 25.7 kB / 267 MB, free: 7.762 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.007021, allocations: 108.1 kB / 267.1 MB, free: 7.652 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.007046, allocations: 15.84 kB / 267.1 MB, free: 7.637 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.007083, allocations: 21.7 kB / 267.1 MB, free: 7.609 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.007172, allocations: 318.8 kB / 267.4 MB, free: 7.289 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.007185, allocations: 4 kB / 267.4 MB, free: 7.285 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.516e-05/0.0072, allocations: 8.234 kB / 267.4 MB, free: 7.277 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.241e-05/0.007262, allocations: 32.91 kB / 267.5 MB, free: 7.242 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.007265, allocations: 3.938 kB / 267.5 MB, free: 7.238 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.568e-05/0.007341, allocations: 49.69 kB / 267.5 MB, free: 7.184 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.007357, allocations: 10.97 kB / 267.5 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.007362, allocations: 0 / 267.5 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.007375, allocations: 0 / 267.5 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.854e-05/0.007473, allocations: 8 kB / 267.5 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.007476, allocations: 0 / 267.5 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.007506, allocations: 11.95 kB / 267.5 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.007511, allocations: 3.984 kB / 267.5 MB, free: 7.152 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 0.0001264/0.007638, allocations: 121.8 kB / 267.7 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.007665, allocations: 7.938 kB / 267.7 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.007699, allocations: 16.11 kB / 267.7 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.007701, allocations: 0 / 267.7 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-06/0.007703, allocations: 0 / 267.7 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.007705, allocations: 3.938 kB / 267.7 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.007839, allocations: 81.88 kB / 267.8 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.00784, allocations: 0 / 267.8 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-05/0.007904, allocations: 12 kB / 267.8 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.007931, allocations: 11.89 kB / 267.8 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.007933, allocations: 0 / 267.8 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.007943, allocations: 3.984 kB / 267.8 MB, free: 6.871 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.007945, allocations: 0 / 267.8 MB, free: 6.871 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.007947, allocations: 8.062 kB / 267.8 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.008091, allocations: 151.5 kB / 268 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.008108, allocations: 7.984 kB / 268 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.949e-05/0.008168, allocations: 3.938 kB / 268 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.008182, allocations: 4 kB / 268 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.008185, allocations: 4.031 kB / 268 MB, free: 6.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.894e-05/0.008214, allocations: 28.48 kB / 268 MB, free: 6.652 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008214, allocations: 0 / 268 MB, free: 6.652 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000207/0.008421, allocations: 19.94 kB / 268 MB, free: 6.633 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 7.651e-05/0.008498, allocations: 72.42 kB / 268.1 MB, free: 6.551 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.165e-05/0.008579, allocations: 24.84 kB / 268.1 MB, free: 6.523 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.008586, allocations: 0 / 268.1 MB, free: 6.523 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.999e-05/0.008616, allocations: 20.8 kB / 268.1 MB, free: 6.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.008883, allocations: 134.8 kB / 268.3 MB, free: 6.344 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004575/0.01346, allocations: 256.2 kB / 268.5 MB, free: 6.066 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.056e-05/0.0135, allocations: 63.34 kB / 268.6 MB, free: 5.984 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.674e-05/0.01354, allocations: 7.984 kB / 268.6 MB, free: 5.977 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.086e-05/0.01361, allocations: 59.38 kB / 268.6 MB, free: 5.918 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01361, allocations: 0 / 268.6 MB, free: 5.918 MB / 266.7 MB Notification: Performance of Templates: time 0.002836/0.01644, allocations: 0.8364 MB / 269.5 MB, free: 5.09 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.4760798262432218]