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.001071/0.001071, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001563/0.002634, allocations: 435.8 kB / 10.33 MB, free: 368 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.001019/0.001019, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0015/0.002519, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.013/1.013, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08053/1.093, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.05318/0.05318, allocations: 12.75 MB / 256.7 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01717/0.07035, allocations: 4.828 MB / 261.5 MB, free: 13.26 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 3.196e-06/3.196e-06, allocations: 4 kB / 262.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/2.056e-05, allocations: 2.312 kB / 262.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.MuscleHeat): time 0.003058/0.003079, allocations: 2.246 MB / 265 MB, free: 9.746 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003281/0.00636, allocations: 111.6 kB / 265.1 MB, free: 9.637 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.516e-05/0.006435, allocations: 3.938 kB / 265.2 MB, free: 9.633 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.675e-05/0.006502, allocations: 23.78 kB / 265.2 MB, free: 9.609 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.081e-05/0.006572, allocations: 39.64 kB / 265.2 MB, free: 9.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.813e-05/0.006661, allocations: 23.97 kB / 265.2 MB, free: 9.547 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.006818, allocations: 135.1 kB / 265.4 MB, free: 9.414 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.252e-05/0.00691, allocations: 19.98 kB / 265.4 MB, free: 9.395 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.411e-05/0.007004, allocations: 75.81 kB / 265.5 MB, free: 9.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.449e-05/0.007089, allocations: 31.91 kB / 265.5 MB, free: 9.289 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.007111, allocations: 12 kB / 265.5 MB, free: 9.277 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.591e-05/0.007127, allocations: 8 kB / 265.5 MB, free: 9.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.007145, allocations: 11.94 kB / 265.5 MB, free: 9.258 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.007194, allocations: 27.94 kB / 265.6 MB, free: 9.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.007328, allocations: 67.77 kB / 265.6 MB, free: 9.164 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.447e-05/0.007343, allocations: 0 / 265.6 MB, free: 9.164 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.007344, allocations: 0 / 265.6 MB, free: 9.164 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.007359, allocations: 0 / 265.6 MB, free: 9.164 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.0004117/0.00777, allocations: 316.2 kB / 265.9 MB, free: 8.828 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.0078, allocations: 8.031 kB / 265.9 MB, free: 8.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.007832, allocations: 12.94 kB / 265.9 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.007984, allocations: 137.6 kB / 266.1 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.007994, allocations: 4.375 kB / 266.1 MB, free: 8.645 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.008012, allocations: 8.375 kB / 266.1 MB, free: 8.637 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.687e-05/0.008099, allocations: 58.22 kB / 266.1 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.008107, allocations: 192 / 266.1 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.008116, allocations: 4.375 kB / 266.2 MB, free: 8.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.008123, allocations: 4.359 kB / 266.2 MB, free: 8.566 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003046/0.01117, allocations: 22.83 kB / 266.2 MB, free: 8.547 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.0003605/0.01153, allocations: 224.1 kB / 266.4 MB, free: 8.312 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.98e-05/0.01161, allocations: 46.44 kB / 266.4 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.01163, allocations: 12.86 kB / 266.5 MB, free: 8.242 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.393e-06/0.01164, allocations: 0 / 266.5 MB, free: 8.242 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.01166, allocations: 34.56 kB / 266.5 MB, free: 8.199 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.01166, allocations: 0 / 266.5 MB, free: 8.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001237/0.01178, allocations: 53.75 kB / 266.5 MB, free: 8.141 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.01182, allocations: 51.41 kB / 266.6 MB, free: 8.078 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.214e-05/0.01189, allocations: 130.7 kB / 266.7 MB, free: 7.938 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.0119, allocations: 29.7 kB / 266.8 MB, free: 7.902 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.01194, allocations: 104.1 kB / 266.9 MB, free: 7.797 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.01196, allocations: 15.84 kB / 266.9 MB, free: 7.781 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.012, allocations: 21.69 kB / 266.9 MB, free: 7.754 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.686e-05/0.01209, allocations: 318.8 kB / 267.2 MB, free: 7.434 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.0121, allocations: 4 kB / 267.2 MB, free: 7.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.205e-05/0.01211, allocations: 8 kB / 267.2 MB, free: 7.422 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.243e-05/0.01216, allocations: 29.2 kB / 267.2 MB, free: 7.391 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01217, allocations: 3.938 kB / 267.2 MB, free: 7.387 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.316e-05/0.01224, allocations: 53.62 kB / 267.3 MB, free: 7.328 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.01225, allocations: 8 kB / 267.3 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01226, allocations: 0 / 267.3 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.01227, allocations: 0 / 267.3 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.01237, allocations: 12 kB / 267.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.01237, allocations: 0 / 267.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.0124, allocations: 7.953 kB / 267.3 MB, free: 7.301 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.01241, allocations: 0 / 267.3 MB, free: 7.301 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.000121/0.01253, allocations: 121.8 kB / 267.4 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.01255, allocations: 4 kB / 267.4 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.01259, allocations: 16.12 kB / 267.5 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01259, allocations: 0 / 267.5 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.01259, allocations: 3.938 kB / 267.5 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01259, allocations: 3.984 kB / 267.5 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.01272, allocations: 85.88 kB / 267.6 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01272, allocations: 0 / 267.6 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.467e-05/0.01279, allocations: 8 kB / 267.6 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.01281, allocations: 11.89 kB / 267.6 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01281, allocations: 3.938 kB / 267.6 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.01282, allocations: 0 / 267.6 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.01282, allocations: 0 / 267.6 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01282, allocations: 4 kB / 267.6 MB, free: 7.012 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.01295, allocations: 155.5 kB / 267.7 MB, free: 6.844 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.01296, allocations: 4 kB / 267.7 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.003e-05/0.01301, allocations: 0 / 267.7 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.01303, allocations: 12.05 kB / 267.7 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.01303, allocations: 4 kB / 267.8 MB, free: 6.824 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.99e-05/0.01305, allocations: 24.36 kB / 267.8 MB, free: 6.801 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01305, allocations: 0 / 267.8 MB, free: 6.801 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.01323, allocations: 19.94 kB / 267.8 MB, free: 6.781 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.832e-05/0.01331, allocations: 84.44 kB / 267.9 MB, free: 6.688 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.563e-05/0.01337, allocations: 24.83 kB / 267.9 MB, free: 6.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.01338, allocations: 4 kB / 267.9 MB, free: 6.656 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.737e-05/0.0134, allocations: 16.8 kB / 267.9 MB, free: 6.637 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.01359, allocations: 19.98 kB / 267.9 MB, free: 6.617 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006716/0.02031, allocations: 260.2 kB / 268.2 MB, free: 6.336 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.99e-05/0.02035, allocations: 59.34 kB / 268.3 MB, free: 6.258 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.416e-05/0.02038, allocations: 7.938 kB / 268.3 MB, free: 6.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.02044, allocations: 59.36 kB / 268.3 MB, free: 6.191 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02044, allocations: 4 kB / 268.3 MB, free: 6.188 MB / 266.7 MB Notification: Performance of Templates: time 0.005588/0.02603, allocations: 0.7905 MB / 269.1 MB, free: 5.41 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.4529438950121403]