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.07617/0.07617, allocations: 11.15 MB / 31.73 MB, free: 4.293 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.0008545/0.0008545, allocations: 90.12 kB / 39.44 MB, free: 6.746 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.001797/0.001797, allocations: 160.6 kB / 47.24 MB, free: 10.04 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.8939/0.8939, allocations: 177.2 MB / 232.1 MB, free: 1.906 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.1798/0.1798, allocations: 17.63 MB / 310.7 MB, free: 1.883 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 1.082e-06/1.082e-06, allocations: 0 / 392.5 MB, free: 4.426 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07e-05/1.178e-05, allocations: 6.25 kB / 392.5 MB, free: 4.418 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.01988/0.01989, allocations: 26.11 MB / 418.6 MB, free: 10.42 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007755/0.02067, allocations: 0.5063 MB / 419.1 MB, free: 9.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.038e-05/0.02076, allocations: 7.938 kB / 419.1 MB, free: 9.902 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.02086, allocations: 19.78 kB / 419.2 MB, free: 9.883 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 9.598e-05/0.02095, allocations: 67.42 kB / 419.2 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.056e-05/0.02104, allocations: 15.98 kB / 419.2 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.02119, allocations: 162.9 kB / 419.4 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.735e-05/0.02128, allocations: 29.64 kB / 419.4 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.998e-05/0.02136, allocations: 79.75 kB / 419.5 MB, free: 9.527 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.77e-05/0.02144, allocations: 35.91 kB / 419.5 MB, free: 9.492 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.02145, allocations: 8 kB / 419.5 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.02147, allocations: 8 kB / 419.5 MB, free: 9.477 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.02149, allocations: 23.86 kB / 419.6 MB, free: 9.453 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.02153, allocations: 39.92 kB / 419.6 MB, free: 9.414 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.02165, allocations: 83.67 kB / 419.7 MB, free: 9.332 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.02166, allocations: 4 kB / 419.7 MB, free: 9.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.02166, allocations: 3.938 kB / 419.7 MB, free: 9.324 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.02166, allocations: 4 kB / 419.7 MB, free: 9.32 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.0003635/0.02202, allocations: 471.8 kB / 420.2 MB, free: 8.824 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.02205, allocations: 8.031 kB / 420.2 MB, free: 8.816 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.02209, allocations: 20.84 kB / 420.2 MB, free: 8.797 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.02224, allocations: 172.4 kB / 420.4 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.02224, allocations: 4.375 kB / 420.4 MB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.02226, allocations: 12.31 kB / 420.4 MB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.282e-05/0.02234, allocations: 54.23 kB / 420.4 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.964e-06/0.02234, allocations: 192 / 420.4 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.02235, allocations: 4.375 kB / 420.4 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.02235, allocations: 7.938 kB / 420.4 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.002e-05/0.02238, allocations: 15.98 kB / 420.5 MB, free: 8.5 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.00032/0.0227, allocations: 328 kB / 420.8 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.015e-05/0.02277, allocations: 54.97 kB / 420.8 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.042e-05/0.0228, allocations: 15.69 kB / 420.8 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.371e-06/0.0228, allocations: 0 / 420.8 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.02282, allocations: 37.39 kB / 420.9 MB, free: 8.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 6.82e-07/0.02282, allocations: 0 / 420.9 MB, free: 8.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001144/0.02293, allocations: 61.72 kB / 420.9 MB, free: 7.953 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.02296, allocations: 51.41 kB / 421 MB, free: 7.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.696e-05/0.02305, allocations: 226.3 kB / 421.2 MB, free: 7.652 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.02306, allocations: 29.64 kB / 421.2 MB, free: 7.617 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.02311, allocations: 162.9 kB / 421.4 MB, free: 7.453 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.02313, allocations: 23.78 kB / 421.4 MB, free: 7.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.02316, allocations: 27.36 kB / 421.5 MB, free: 7.395 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.02326, allocations: 0.4961 MB / 421.9 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-06/0.02327, allocations: 4 kB / 422 MB, free: 6.883 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-06/0.02328, allocations: 4 kB / 422 MB, free: 6.879 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.343e-05/0.02332, allocations: 31.66 kB / 422 MB, free: 6.844 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.02333, allocations: 0 / 422 MB, free: 6.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.102e-05/0.02339, allocations: 70.03 kB / 422.1 MB, free: 6.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.0234, allocations: 4 kB / 422.1 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.0234, allocations: 4 kB / 422.1 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.02341, allocations: 3.984 kB / 422.1 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.672e-05/0.02346, allocations: 11.94 kB / 422.1 MB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.02346, allocations: 0 / 422.1 MB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.02348, allocations: 4 kB / 422.1 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-06/0.02349, allocations: 0 / 422.1 MB, free: 6.742 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.0001049/0.02359, allocations: 168.4 kB / 422.2 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.02361, allocations: 11.94 kB / 422.3 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.02364, allocations: 21.14 kB / 422.3 MB, free: 6.539 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.02364, allocations: 4 kB / 422.3 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.02364, allocations: 4 kB / 422.3 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.02365, allocations: 0 / 422.3 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.02376, allocations: 129.1 kB / 422.4 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.02376, allocations: 0 / 422.4 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.0238, allocations: 8 kB / 422.4 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.0238, allocations: 0 / 422.4 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.02381, allocations: 0 / 422.4 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.02381, allocations: 3.938 kB / 422.4 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.02381, allocations: 0 / 422.4 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.02394, allocations: 219.8 kB / 422.6 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.02396, allocations: 19.92 kB / 422.7 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.02397, allocations: 4 kB / 422.7 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.79e-05/0.02401, allocations: 0 / 422.7 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.02402, allocations: 4 kB / 422.7 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.02403, allocations: 4.047 kB / 422.7 MB, free: 6.102 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.159e-05/0.02408, allocations: 151.1 kB / 422.8 MB, free: 5.953 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02408, allocations: 0 / 422.8 MB, free: 5.953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001554/0.02423, allocations: 27.94 kB / 422.8 MB, free: 5.926 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 6.465e-05/0.0243, allocations: 87.25 kB / 422.9 MB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.122e-05/0.02437, allocations: 35.61 kB / 423 MB, free: 5.793 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02437, allocations: 8 kB / 423 MB, free: 5.785 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.743e-05/0.02439, allocations: 19.67 kB / 423 MB, free: 5.762 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.02479, allocations: 51.69 kB / 423 MB, free: 5.715 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.0007225/0.02551, allocations: 318.2 kB / 423.4 MB, free: 5.375 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.212e-05/0.02554, allocations: 63.34 kB / 423.4 MB, free: 5.293 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.365e-05/0.02557, allocations: 17.22 kB / 423.4 MB, free: 5.273 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.01e-05/0.02565, allocations: 98.17 kB / 423.5 MB, free: 5.176 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02566, allocations: 0 / 423.5 MB, free: 5.176 MB / 378.7 MB Notification: Performance of Templates: time 0.002841/0.0285, allocations: 1.754 MB / 425.3 MB, free: 3.469 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.8032132359221578]