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.001295/0.001295, allocations: 77.14 kB / 20.67 MB, free: 3.836 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.001434/0.001434, allocations: 165 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 0.9175/0.9175, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.05111/0.05111, allocations: 12.76 MB / 273.8 MB, free: 136 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.192e-06/1.192e-06, allocations: 0 / 347.9 MB, free: 2.043 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031e-05/1.15e-05, allocations: 6.312 kB / 347.9 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.MuscleHeat): time 0.002044/0.002056, allocations: 2.181 MB / 350.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002539/0.002309, allocations: 111.6 kB / 350.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.079e-05/0.00238, allocations: 7.938 kB / 350.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.002487, allocations: 11.86 kB / 350.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.137e-05/0.002558, allocations: 39.62 kB / 350.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001033/0.002661, allocations: 27.97 kB / 350.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.002785, allocations: 119.2 kB / 350.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.194e-05/0.002877, allocations: 31.91 kB / 350.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.572e-05/0.002933, allocations: 47.95 kB / 350.5 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.422e-05/0.003007, allocations: 23.92 kB / 350.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.003027, allocations: 12 kB / 350.5 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.003038, allocations: 4 kB / 350.5 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.003059, allocations: 23.91 kB / 350.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.00309, allocations: 31.94 kB / 350.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.003197, allocations: 63.75 kB / 350.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.003199, allocations: 0 / 350.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.5e-07/0.003199, allocations: 4 kB / 350.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.003203, allocations: 0 / 350.7 MB, free: 15.29 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.0003347/0.003537, allocations: 420.2 kB / 351.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.003569, allocations: 15.98 kB / 351.1 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.003598, allocations: 16.84 kB / 351.1 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.003714, allocations: 151.1 kB / 351.3 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-06/0.003721, allocations: 384 / 351.3 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.003736, allocations: 8.375 kB / 351.3 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.248e-05/0.003809, allocations: 58.23 kB / 351.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.003819, allocations: 192 / 351.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.003826, allocations: 4.375 kB / 351.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.003832, allocations: 8.312 kB / 351.3 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.206e-05/0.003864, allocations: 23.86 kB / 351.4 MB, free: 14.54 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.0003014/0.004166, allocations: 320.2 kB / 351.7 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.652e-05/0.004232, allocations: 50.92 kB / 351.7 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.856e-05/0.004251, allocations: 15.81 kB / 351.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/0.004259, allocations: 4 kB / 351.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.004274, allocations: 33.39 kB / 351.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.004275, allocations: 0 / 351.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001072/0.004382, allocations: 57.64 kB / 351.8 MB, free: 14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.709e-05/0.0044, allocations: 59.34 kB / 351.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.808e-05/0.004468, allocations: 189.2 kB / 352.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.004478, allocations: 29.7 kB / 352.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.004519, allocations: 146.8 kB / 352.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.004535, allocations: 19.8 kB / 352.3 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.004561, allocations: 27.36 kB / 352.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.004661, allocations: 0.4884 MB / 352.8 MB, free: 13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-06/0.00467, allocations: 0 / 352.8 MB, free: 13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.128e-06/0.004679, allocations: 7.984 kB / 352.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.43e-05/0.004724, allocations: 32.06 kB / 352.8 MB, free: 12.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.004726, allocations: 3.938 kB / 352.8 MB, free: 12.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.662e-05/0.004782, allocations: 65.62 kB / 352.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.004792, allocations: 4 kB / 352.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.004795, allocations: 0 / 352.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.004805, allocations: 4 kB / 352.9 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.765e-05/0.004853, allocations: 8 kB / 352.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.004855, allocations: 0 / 352.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.677e-05/0.004872, allocations: 3.953 kB / 352.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-06/0.004876, allocations: 0 / 352.9 MB, free: 12.86 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.032e-05/0.004966, allocations: 176.5 kB / 353.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.004989, allocations: 15.95 kB / 353.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.005011, allocations: 12.12 kB / 353.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.005013, allocations: 0 / 353.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.005013, allocations: 0 / 353.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.005029, allocations: 7.938 kB / 353.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.005041, allocations: 4 kB / 353.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.278e-05/0.005074, allocations: 7.938 kB / 353.1 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.005085, allocations: 3.938 kB / 353.1 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001069/0.005192, allocations: 172.8 kB / 353.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001337/0.005326, allocations: 331.1 kB / 353.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.399e-05/0.00535, allocations: 31.88 kB / 353.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.475e-05/0.005384, allocations: 135.1 kB / 353.8 MB, free: 11.94 MB / 330.7 MB Notification: Performance of Backend: time 2.21e-07/0.005385, allocations: 0 / 353.8 MB, free: 11.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.005584, allocations: 96.91 kB / 353.9 MB, free: 11.84 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: time 0.0008122/0.006396, allocations: 0.9813 MB / 354.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of Templates: time 0.002021/0.008417, allocations: 0.8628 MB / 355.7 MB, free: 9.945 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: 2.4925978700630367]