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 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1991/0.1991, allocations: 23.86 MB / 43.49 MB, free: 2.648 MB / 34.91 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.001265/0.001265, allocations: 102.4 kB / 53.17 MB, free: 348 kB / 34.91 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.001564/0.001564, allocations: 206.3 kB / 63 MB, free: 2.156 MB / 46.55 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.673/1.673, allocations: 230.6 MB / 303.3 MB, free: 6.852 MB / 222.1 MB " [Timeout remaining time 178] 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.1718/0.1718, allocations: 23.72 MB / 389.9 MB, free: 9.188 MB / 286.1 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 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.MuscleHeat,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.MuscleHeat,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Physiolibrary requested package Chemical of version 1.4.0. Chemical 2.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(Physiolibrary, Chemical, \"2.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.003289/0.003289, allocations: 116.9 kB / 0.5259 GB, free: 42.62 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1479, allocations: 65.98 MB / 0.5904 GB, free: 9.973 MB / 414.1 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.03976/0.1877, allocations: 22.85 MB / 0.6127 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.1893, allocations: 0.5104 MB / 0.6132 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.1894, allocations: 7.938 kB / 0.6132 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.1896, allocations: 27.72 kB / 0.6132 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.1897, allocations: 59.48 kB / 0.6133 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.1899, allocations: 19.97 kB / 0.6133 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000268/0.1902, allocations: 155 kB / 0.6134 GB, free: 2.406 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.1903, allocations: 29.61 kB / 0.6135 GB, free: 2.371 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.704e-05/0.1904, allocations: 51.78 kB / 0.6135 GB, free: 2.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.1905, allocations: 59.72 kB / 0.6136 GB, free: 2.262 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.1906, allocations: 4 kB / 0.6136 GB, free: 2.258 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.276e-05/0.1906, allocations: 8 kB / 0.6136 GB, free: 2.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.458e-05/0.1906, allocations: 23.86 kB / 0.6136 GB, free: 2.227 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.98e-05/0.1907, allocations: 55.69 kB / 0.6137 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.1909, allocations: 123.4 kB / 0.6138 GB, free: 2.051 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.1909, allocations: 3.984 kB / 0.6138 GB, free: 2.047 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1909, allocations: 4 kB / 0.6138 GB, free: 2.043 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.1909, allocations: 0 / 0.6138 GB, free: 2.043 MB / 430.1 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.0007147/0.1917, allocations: 365.6 kB / 0.6141 GB, free: 1.656 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.1917, allocations: 12.03 kB / 0.6142 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.749e-05/0.1917, allocations: 192 / 0.6142 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.073e-05/0.1918, allocations: 42.75 kB / 0.6142 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.1918, allocations: 12.84 kB / 0.6142 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.1921, allocations: 174.2 kB / 0.6144 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.1922, allocations: 12.38 kB / 0.6144 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.1922, allocations: 4.375 kB / 0.6144 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1923, allocations: 73.61 kB / 0.6145 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1924, allocations: 0 / 0.6145 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1924, allocations: 4 kB / 0.6145 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1924, allocations: 4 kB / 0.6145 GB, free: 1.285 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.1925, allocations: 39.92 kB / 0.6145 GB, free: 1.246 MB / 430.1 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.0007403/0.1932, allocations: 446.4 kB / 0.6149 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.1934, allocations: 62.5 kB / 0.615 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.813e-05/0.1934, allocations: 24.97 kB / 0.615 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.1934, allocations: 0 / 0.615 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.1935, allocations: 38.56 kB / 0.6151 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1935, allocations: 0 / 0.6151 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.000256/0.1937, allocations: 85.53 kB / 0.6151 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.1938, allocations: 51.41 kB / 0.6152 GB, free: 456 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.194, allocations: 182.3 kB / 0.6154 GB, free: 264 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.194, allocations: 29.7 kB / 0.6154 GB, free: 228 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.819e-05/0.1941, allocations: 120.1 kB / 0.6155 GB, free: 104 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.1941, allocations: 15.8 kB / 0.6155 GB, free: 88 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/0.1942, allocations: 21.7 kB / 0.6155 GB, free: 60 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.1944, allocations: 322.8 kB / 0.6158 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.917e-05/0.1944, allocations: 8 kB / 0.6159 GB, free: 15.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/0.1944, allocations: 16 kB / 0.6159 GB, free: 15.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.1947, allocations: 68.83 kB / 0.6159 GB, free: 15.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1947, allocations: 4 kB / 0.6159 GB, free: 15.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001349/0.1948, allocations: 78.03 kB / 0.616 GB, free: 15.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1949, allocations: 8 kB / 0.616 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1949, allocations: 3.938 kB / 0.616 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.1949, allocations: 7.922 kB / 0.616 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.23e-05/0.195, allocations: 12 kB / 0.616 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.195, allocations: 0 / 0.616 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.195, allocations: 3.938 kB / 0.616 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.195, allocations: 8 kB / 0.6161 GB, free: 15.51 MB / 446.1 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.0002066/0.1952, allocations: 121.3 kB / 0.6162 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.1953, allocations: 15.91 kB / 0.6162 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.182e-05/0.1953, allocations: 17.09 kB / 0.6162 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1953, allocations: 3.938 kB / 0.6162 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.1954, allocations: 3.984 kB / 0.6162 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1954, allocations: 0 / 0.6162 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.1956, allocations: 176.7 kB / 0.6164 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1956, allocations: 4 kB / 0.6164 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.258e-05/0.1957, allocations: 8 kB / 0.6164 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1957, allocations: 0 / 0.6164 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.1957, allocations: 0 / 0.6164 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1957, allocations: 3.938 kB / 0.6164 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1957, allocations: 0 / 0.6164 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.1959, allocations: 195.4 kB / 0.6166 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.196, allocations: 15.88 kB / 0.6166 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.196, allocations: 4 kB / 0.6166 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.52e-05/0.1961, allocations: 8 kB / 0.6166 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.1961, allocations: 7.984 kB / 0.6166 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.1961, allocations: 0 / 0.6166 GB, free: 14.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.1962, allocations: 135.2 kB / 0.6167 GB, free: 14.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1962, allocations: 3.938 kB / 0.6167 GB, free: 14.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.1965, allocations: 20 kB / 0.6168 GB, free: 14.71 MB / 446.1 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 0.0005714/0.197, allocations: 0.7203 MB / 0.6175 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.1972, allocations: 35.98 kB / 0.6175 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1972, allocations: 0 / 0.6175 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.429e-05/0.1972, allocations: 19.94 kB / 0.6175 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.1977, allocations: 53.89 kB / 0.6176 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.2001, allocations: 1.697 MB / 0.6192 GB, free: 12.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007836/0.2009, allocations: 0.7123 MB / 0.6199 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.153e-05/0.2009, allocations: 9.094 kB / 0.6199 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.371e-05/0.201, allocations: 35.42 kB / 0.62 GB, free: 11.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.201, allocations: 0 / 0.62 GB, free: 11.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03385/0.2348, allocations: 3.636 MB / 0.6235 GB, free: 7.805 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.87, allocations: 8.047 kB / 0.6235 GB, free: 7.797 MB / 446.1 MB " [Timeout remaining time 648] (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/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.43827148899436] Failed to read output from testmodel.py, exit status != 0: 12.036503484006971 12.054267481 11.860101051 Calling exit ...