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.001348/0.001348, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001607/0.001607, allocations: 169 kB / 24.06 MB, free: 456 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.002/1.002, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.06112/0.06112, allocations: 12.77 MB / 273.8 MB, free: 124 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.062e-06/1.062e-06, allocations: 0 / 347.1 MB, free: 2.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.604e-05, allocations: 2.312 kB / 347.1 MB, free: 2.844 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.MuscleHeat): time 0.002083/0.002099, allocations: 2.189 MB / 349.3 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002479/0.002347, allocations: 111.6 kB / 349.4 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.0024, allocations: 0 / 349.4 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 8.531e-05/0.002485, allocations: 15.84 kB / 349.4 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.491e-05/0.00254, allocations: 39.64 kB / 349.4 MB, free: 492 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/0.002641, allocations: 27.89 kB / 349.5 MB, free: 464 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.002762, allocations: 123.2 kB / 349.6 MB, free: 340 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.626e-05/0.002839, allocations: 23.98 kB / 349.6 MB, free: 316 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003278/0.003167, allocations: 55.88 kB / 349.7 MB, free: 260 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.921e-05/0.003246, allocations: 27.97 kB / 349.7 MB, free: 232 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.003267, allocations: 8 kB / 349.7 MB, free: 224 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.481e-05/0.003282, allocations: 4 kB / 349.7 MB, free: 220 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.003301, allocations: 19.92 kB / 349.7 MB, free: 200 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.003337, allocations: 31.92 kB / 349.8 MB, free: 168 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.003459, allocations: 71.75 kB / 349.8 MB, free: 96 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.003461, allocations: 0 / 349.8 MB, free: 96 kB / 314.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003462, allocations: 0 / 349.8 MB, free: 96 kB / 314.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.003466, allocations: 0 / 349.8 MB, free: 96 kB / 314.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.0003529/0.003818, allocations: 428.2 kB / 350.3 MB, free: 15.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.003849, allocations: 15.98 kB / 350.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.00388, allocations: 16.84 kB / 350.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.004007, allocations: 136.4 kB / 350.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.004018, allocations: 8.375 kB / 350.4 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.004036, allocations: 4.375 kB / 350.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.841e-05/0.004124, allocations: 57.19 kB / 350.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.004133, allocations: 4.188 kB / 350.5 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.004141, allocations: 8.312 kB / 350.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.004146, allocations: 384 / 350.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.615e-05/0.004182, allocations: 23.86 kB / 350.5 MB, free: 15.34 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.0003438/0.004526, allocations: 316.1 kB / 350.8 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.801e-05/0.004604, allocations: 54.97 kB / 350.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/0.004627, allocations: 19.67 kB / 350.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-06/0.004633, allocations: 0 / 350.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.004656, allocations: 37.52 kB / 350.9 MB, free: 14.87 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 7.61e-07/0.004657, allocations: 4 kB / 350.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001214/0.004778, allocations: 61.58 kB / 351 MB, free: 14.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.0048, allocations: 55.41 kB / 351.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/0.004883, allocations: 181.9 kB / 351.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.004894, allocations: 25.7 kB / 351.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.004943, allocations: 150.9 kB / 351.4 MB, free: 14.35 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.004967, allocations: 15.84 kB / 351.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.004998, allocations: 23.38 kB / 351.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.005112, allocations: 0.4962 MB / 351.9 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.005123, allocations: 4 kB / 351.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.175e-05/0.005134, allocations: 8 kB / 352 MB, free: 13.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.359e-05/0.005188, allocations: 43.86 kB / 352 MB, free: 13.74 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.005189, allocations: 4 kB / 352 MB, free: 13.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.697e-05/0.005256, allocations: 45.7 kB / 352 MB, free: 13.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.005267, allocations: 8 kB / 352.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.005271, allocations: 0 / 352.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.00528, allocations: 0 / 352.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/0.005332, allocations: 11.98 kB / 352.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-06/0.005333, allocations: 0 / 352.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.264e-05/0.005356, allocations: 7.953 kB / 352.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.00536, allocations: 4 kB / 352.1 MB, free: 13.65 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 9.564e-05/0.005456, allocations: 172.4 kB / 352.2 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.005479, allocations: 7.953 kB / 352.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.005506, allocations: 16.11 kB / 352.3 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.005507, allocations: 0 / 352.3 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.005509, allocations: 0 / 352.3 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.005511, allocations: 0 / 352.3 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.005642, allocations: 121.2 kB / 352.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.005643, allocations: 0 / 352.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.005688, allocations: 15.94 kB / 352.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.005689, allocations: 4 kB / 352.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.005698, allocations: 4 kB / 352.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.005699, allocations: 0 / 352.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.0057, allocations: 0 / 352.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.00584, allocations: 211.8 kB / 352.6 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/0.005868, allocations: 15.89 kB / 352.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.005882, allocations: 4.125 kB / 352.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.308e-05/0.005935, allocations: 0 / 352.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.005947, allocations: 3.984 kB / 352.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.005952, allocations: 4 kB / 352.6 MB, free: 13.03 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.905e-05/0.006001, allocations: 142.1 kB / 352.8 MB, free: 12.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006001, allocations: 4.031 kB / 352.8 MB, free: 12.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002289/0.00623, allocations: 19.94 kB / 352.8 MB, free: 12.87 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 6.828e-05/0.006298, allocations: 87.25 kB / 352.9 MB, free: 12.78 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.569e-05/0.006374, allocations: 31.67 kB / 352.9 MB, free: 12.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.006378, allocations: 0 / 352.9 MB, free: 12.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.333e-05/0.006401, allocations: 19.62 kB / 352.9 MB, free: 12.72 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.006657, allocations: 15.98 kB / 353 MB, free: 12.7 MB / 330.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.000955/0.007612, allocations: 295.8 kB / 353.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.401e-05/0.007676, allocations: 79.31 kB / 353.3 MB, free: 12.28 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.497e-05/0.007751, allocations: 78.2 kB / 353.4 MB, free: 12.2 MB / 330.7 MB Notification: Performance of SimCode: time 6.62e-07/0.007751, allocations: 0 / 353.4 MB, free: 12.2 MB / 330.7 MB Notification: Performance of Templates: time 0.001933/0.009684, allocations: 1.115 MB / 354.5 MB, free: 11.09 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 > Bodylight_Bodylight.Thermal.Examples.MuscleHeat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.651508456096053]