Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.07085/0.07085, allocations: 11.15 MB / 30.94 MB, free: 4.816 MB / 24.77 MB " [Timeout remaining time 180] 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.0009343/0.0009343, allocations: 99.41 kB / 38.65 MB, free: 6.906 MB / 33.03 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.00118/0.00118, allocations: 160.6 kB / 46.45 MB, free: 10.19 MB / 44.04 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.9404/0.9404, allocations: 177.1 MB / 231.3 MB, free: 1.969 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.2151/0.2151, allocations: 17.62 MB / 309.9 MB, free: 1.84 MB / 266.7 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.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) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: translateModel(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") translateModel(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 391.7 MB, free: 4.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.619e-05, allocations: 2.312 kB / 391.7 MB, free: 4.406 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Thermal.Examples.MuscleHeat): time 0.02661/0.02663, allocations: 26.13 MB / 417.8 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.02768, allocations: 0.4985 MB / 418.3 MB, free: 9.883 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.02779, allocations: 7.938 kB / 418.4 MB, free: 9.875 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.02791, allocations: 31.66 kB / 418.4 MB, free: 9.844 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.02802, allocations: 55.5 kB / 418.4 MB, free: 9.789 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001072/0.02812, allocations: 27.95 kB / 418.5 MB, free: 9.762 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.02828, allocations: 158.9 kB / 418.6 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.02839, allocations: 33.58 kB / 418.7 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.0285, allocations: 75.81 kB / 418.7 MB, free: 9.492 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.603e-05/0.02858, allocations: 35.91 kB / 418.8 MB, free: 9.457 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.0286, allocations: 8 kB / 418.8 MB, free: 9.449 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.746e-05/0.02862, allocations: 8 kB / 418.8 MB, free: 9.441 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.02865, allocations: 23.84 kB / 418.8 MB, free: 9.418 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.02868, allocations: 35.94 kB / 418.8 MB, free: 9.383 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.02882, allocations: 91.61 kB / 418.9 MB, free: 9.293 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.02883, allocations: 0 / 418.9 MB, free: 9.293 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.02883, allocations: 4 kB / 418.9 MB, free: 9.289 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.02883, allocations: 0 / 418.9 MB, free: 9.289 MB / 378.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.0004069/0.02924, allocations: 471.8 kB / 419.4 MB, free: 8.793 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.02927, allocations: 8.031 kB / 419.4 MB, free: 8.785 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.02931, allocations: 24.84 kB / 419.4 MB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.02946, allocations: 168.3 kB / 419.6 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.02947, allocations: 12.38 kB / 419.6 MB, free: 8.559 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.02948, allocations: 4.375 kB / 419.6 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.965e-05/0.02956, allocations: 58.23 kB / 419.7 MB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.02957, allocations: 192 / 419.7 MB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.02958, allocations: 384 / 419.7 MB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.02959, allocations: 7.938 kB / 419.7 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.886e-05/0.02962, allocations: 19.92 kB / 419.7 MB, free: 8.465 MB / 378.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.0003353/0.02995, allocations: 324.1 kB / 420 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.749e-05/0.03002, allocations: 51.03 kB / 420.1 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.056e-05/0.03004, allocations: 19.67 kB / 420.1 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.03005, allocations: 128 / 420.1 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.03007, allocations: 45.38 kB / 420.1 MB, free: 7.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.03007, allocations: 0 / 420.1 MB, free: 7.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001201/0.03019, allocations: 61.55 kB / 420.2 MB, free: 7.914 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.03021, allocations: 59.39 kB / 420.2 MB, free: 7.844 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.933e-05/0.03031, allocations: 218.3 kB / 420.4 MB, free: 7.613 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.03032, allocations: 25.7 kB / 420.5 MB, free: 7.582 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.03038, allocations: 158.9 kB / 420.6 MB, free: 7.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.03041, allocations: 27.8 kB / 420.7 MB, free: 7.395 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.03044, allocations: 23.36 kB / 420.7 MB, free: 7.363 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.03055, allocations: 0.4961 MB / 421.2 MB, free: 6.855 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.03056, allocations: 4 kB / 421.2 MB, free: 6.852 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/0.03057, allocations: 7.984 kB / 421.2 MB, free: 6.844 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.875e-05/0.03062, allocations: 32 kB / 421.2 MB, free: 6.809 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.03062, allocations: 0 / 421.2 MB, free: 6.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.249e-05/0.03069, allocations: 65.64 kB / 421.3 MB, free: 6.738 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.03071, allocations: 7.938 kB / 421.3 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-06/0.03071, allocations: 0 / 421.3 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.03072, allocations: 0 / 421.3 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.58e-05/0.03077, allocations: 12 kB / 421.3 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.03078, allocations: 0 / 421.3 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.0308, allocations: 4 kB / 421.3 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-06/0.03081, allocations: 4 kB / 421.3 MB, free: 6.711 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: muscle.relativeHeat:VARIABLE(flow=false start = muscle.relativeHeat_start 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.0001149/0.03092, allocations: 176.4 kB / 421.5 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.03094, allocations: 11.89 kB / 421.5 MB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.03097, allocations: 13.16 kB / 421.5 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.03097, allocations: 0 / 421.5 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.03097, allocations: 4 kB / 421.5 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.03098, allocations: 4 kB / 421.5 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.03109, allocations: 133.1 kB / 421.6 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.03109, allocations: 0 / 421.6 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.03113, allocations: 8 kB / 421.7 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.03113, allocations: 0 / 421.7 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.03114, allocations: 0 / 421.7 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.03114, allocations: 3.984 kB / 421.7 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.03114, allocations: 0 / 421.7 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.03128, allocations: 215.8 kB / 421.9 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.0313, allocations: 15.91 kB / 421.9 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.03131, allocations: 0 / 421.9 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.403e-05/0.03134, allocations: 12.09 kB / 421.9 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.03136, allocations: 7.984 kB / 421.9 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.03136, allocations: 4 kB / 421.9 MB, free: 6.062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.067e-05/0.03141, allocations: 151.1 kB / 422.1 MB, free: 5.914 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.03141, allocations: 0 / 422.1 MB, free: 5.914 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001388/0.03155, allocations: 23.94 kB / 422.1 MB, free: 5.891 MB / 378.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.152e-05/0.03162, allocations: 91.25 kB / 422.2 MB, free: 5.793 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.953e-05/0.03168, allocations: 27.67 kB / 422.2 MB, free: 5.762 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.03168, allocations: 0 / 422.2 MB, free: 5.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.729e-05/0.0317, allocations: 27.61 kB / 422.2 MB, free: 5.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.03195, allocations: 52.67 kB / 422.3 MB, free: 5.684 MB / 378.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.0007462/0.0327, allocations: 322.5 kB / 422.6 MB, free: 5.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.216e-05/0.03274, allocations: 67.33 kB / 422.7 MB, free: 5.254 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.468e-05/0.03277, allocations: 16.92 kB / 422.7 MB, free: 5.234 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.054e-05/0.03286, allocations: 102.2 kB / 422.8 MB, free: 5.133 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03286, allocations: 0 / 422.8 MB, free: 5.133 MB / 378.7 MB Notification: Performance of Templates: time 0.003111/0.03597, allocations: 1.726 MB / 424.5 MB, free: 3.453 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat -abortSlowSimulation -alarm=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.865550523158163]