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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.MuscleHeat,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.MuscleHeat,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006098/0.006098, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 223.2 MB / 239 MB, free: 1.789 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 95.97 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.2907/0.2907, allocations: 37.08 MB / 378.4 MB, free: 5.703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005832/0.0005832, allocations: 12 kB / 449.1 MB, free: 61.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.165, allocations: 60.08 MB / 0.4972 GB, free: 1.457 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5462/0.7113, allocations: 91.93 MB / 0.587 GB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003968/0.7118, allocations: 71.22 kB / 0.5871 GB, free: 10.69 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Thermal.mo:312:7-312:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System body.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Physiolibrary.Thermal.Sources.UnlimitedHeat$body. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.00927/0.7211, allocations: 3.15 MB / 0.5901 GB, free: 8.059 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.7211, allocations: 0 / 0.5901 GB, free: 8.059 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.754e-05/0.7211, allocations: 4 kB / 0.5901 GB, free: 8.055 MB / 394.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.0007426/0.7219, allocations: 421.9 kB / 0.5905 GB, free: 7.602 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/0.722, allocations: 16.02 kB / 0.5905 GB, free: 7.586 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.372e-05/0.722, allocations: 36.69 kB / 0.5906 GB, free: 7.547 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.7221, allocations: 19.81 kB / 0.5906 GB, free: 7.527 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.7225, allocations: 228.9 kB / 0.5908 GB, free: 7.273 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.7225, allocations: 7.75 kB / 0.5908 GB, free: 7.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.7226, allocations: 4 kB / 0.5908 GB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.7228, allocations: 74.23 kB / 0.5909 GB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.7228, allocations: 0 / 0.5909 GB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.7228, allocations: 3.188 kB / 0.5909 GB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.7228, allocations: 8 kB / 0.5909 GB, free: 7.195 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.438e-05/0.7229, allocations: 33.55 kB / 0.5909 GB, free: 7.176 MB / 394.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.0007434/0.7236, allocations: 480.7 kB / 0.5914 GB, free: 6.672 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.7238, allocations: 65.12 kB / 0.5915 GB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.7238, allocations: 0 / 0.5915 GB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.7239, allocations: 38.31 kB / 0.5915 GB, free: 6.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.7239, allocations: 0 / 0.5915 GB, free: 6.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002545/0.7241, allocations: 78.48 kB / 0.5916 GB, free: 6.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.7242, allocations: 60.62 kB / 0.5916 GB, free: 6.434 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.7244, allocations: 167.5 kB / 0.5918 GB, free: 6.281 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.7244, allocations: 29.7 kB / 0.5918 GB, free: 6.246 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.095e-05/0.7245, allocations: 115.9 kB / 0.5919 GB, free: 6.148 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.222e-05/0.7245, allocations: 23.44 kB / 0.592 GB, free: 6.129 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.7245, allocations: 0 / 0.592 GB, free: 6.129 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.7247, allocations: 324.4 kB / 0.5923 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.872e-05/0.7248, allocations: 6.625 kB / 0.5923 GB, free: 5.805 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.255e-05/0.7248, allocations: 10.06 kB / 0.5923 GB, free: 5.801 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.785e-05/0.7248, allocations: 17.61 kB / 0.5923 GB, free: 5.789 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.7249, allocations: 0 / 0.5923 GB, free: 5.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000138/0.725, allocations: 78.12 kB / 0.5924 GB, free: 5.719 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.725, allocations: 8 kB / 0.5924 GB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.7251, allocations: 0 / 0.5924 GB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.7251, allocations: 7.891 kB / 0.5924 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.7252, allocations: 15.92 kB / 0.5924 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.7252, allocations: 4 kB / 0.5924 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.163e-05/0.7253, allocations: 6.781 kB / 0.5924 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.7253, allocations: 3.938 kB / 0.5924 GB, free: 5.676 MB / 394.7 MB Warning: Assuming fixed start value for the following 1 variables: muscle.relativeHeat:VARIABLE(start = muscle.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002647/0.7256, allocations: 124 kB / 0.5925 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.7256, allocations: 11.91 kB / 0.5925 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.7257, allocations: 18.86 kB / 0.5926 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.7257, allocations: 0 / 0.5926 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.7257, allocations: 3.953 kB / 0.5926 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.7257, allocations: 0 / 0.5926 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.726, allocations: 215.5 kB / 0.5928 GB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.726, allocations: 0 / 0.5928 GB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.319e-05/0.7261, allocations: 8 kB / 0.5928 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.7261, allocations: 0 / 0.5928 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.7261, allocations: 0 / 0.5928 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7261, allocations: 4 kB / 0.5928 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7261, allocations: 0 / 0.5928 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.7264, allocations: 196.2 kB / 0.593 GB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.245e-05/0.7265, allocations: 100.4 kB / 0.5931 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.7265, allocations: 0 / 0.5931 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.579e-05/0.7266, allocations: 0 / 0.5931 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.7266, allocations: 4 kB / 0.5931 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.7266, allocations: 3.984 kB / 0.5931 GB, free: 4.973 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001226/0.7268, allocations: 135.7 kB / 0.5932 GB, free: 4.855 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7268, allocations: 0 / 0.5932 GB, free: 4.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.727, allocations: 27.5 kB / 0.5932 GB, free: 4.832 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005832/0.7276, allocations: 0.7141 MB / 0.5939 GB, free: 4.113 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.7278, allocations: 37.61 kB / 0.594 GB, free: 4.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7278, allocations: 4.062 kB / 0.594 GB, free: 4.086 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.302e-05/0.7278, allocations: 15 kB / 0.594 GB, free: 4.074 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.7283, allocations: 54.88 kB / 0.594 GB, free: 4.027 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.7297, allocations: 0.8496 MB / 0.5949 GB, free: 3.195 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.7301, allocations: 0.7164 MB / 0.5956 GB, free: 2.453 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.561e-05/0.7302, allocations: 9.078 kB / 0.5956 GB, free: 2.441 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.7302, allocations: 34.56 kB / 0.5956 GB, free: 2.426 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.7303, allocations: 3.938 kB / 0.5956 GB, free: 2.422 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01624/0.7465, allocations: 3.144 MB / 0.5987 GB, free: 15.43 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/0.7468, allocations: 175.5 kB / 0.5988 GB, free: 15.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/2.405, allocations: 0 / 0.5988 GB, free: 15.18 MB / 410.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe 2>&1)