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.18/0.18, allocations: 23.86 MB / 40.21 MB, free: 8.57 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.001318/0.001318, allocations: 109.5 kB / 49.57 MB, free: 2.613 MB / 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.001879/0.001879, allocations: 223.2 kB / 59.06 MB, free: 5.984 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.482/1.482, allocations: 230.6 MB / 298.9 MB, free: 7.605 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.1501/0.1501, allocations: 23.71 MB / 385.2 MB, free: 10.31 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.MuscleHeat,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat",fmuType="me",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.003265/0.003265, allocations: 114.1 kB / 0.5196 GB, free: 42.67 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1403, allocations: 65.93 MB / 0.584 GB, free: 11.49 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.03687/0.1772, allocations: 22.84 MB / 0.6063 GB, free: 4.734 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1785, allocations: 0.5143 MB / 0.6068 GB, free: 4.211 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.1786, allocations: 3.938 kB / 0.6068 GB, free: 4.207 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.1788, allocations: 27.72 kB / 0.6068 GB, free: 4.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.1789, allocations: 63.48 kB / 0.6069 GB, free: 4.117 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.1791, allocations: 15.97 kB / 0.6069 GB, free: 4.102 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.1793, allocations: 159.1 kB / 0.607 GB, free: 3.945 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1794, allocations: 21.48 kB / 0.6071 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.545e-05/0.1795, allocations: 55.73 kB / 0.6071 GB, free: 3.863 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.1796, allocations: 51.72 kB / 0.6072 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.1796, allocations: 4 kB / 0.6072 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.088e-05/0.1797, allocations: 8 kB / 0.6072 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.1797, allocations: 23.92 kB / 0.6072 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.86e-05/0.1798, allocations: 63.62 kB / 0.6073 GB, free: 3.715 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.18, allocations: 127.4 kB / 0.6074 GB, free: 3.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.18, allocations: 0 / 0.6074 GB, free: 3.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.18, allocations: 3.938 kB / 0.6074 GB, free: 3.586 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.18, allocations: 0 / 0.6074 GB, free: 3.586 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.0006883/0.1807, allocations: 442.7 kB / 0.6078 GB, free: 3.105 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1808, allocations: 12.03 kB / 0.6078 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.666e-05/0.1808, allocations: 38.75 kB / 0.6079 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.1809, allocations: 16.84 kB / 0.6079 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.1812, allocations: 236.5 kB / 0.6081 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1812, allocations: 384 / 0.6081 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.1812, allocations: 8.375 kB / 0.6081 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.1814, allocations: 73.8 kB / 0.6082 GB, free: 2.676 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1814, allocations: 0 / 0.6082 GB, free: 2.676 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.1814, allocations: 11.98 kB / 0.6082 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1814, allocations: 0 / 0.6082 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.265e-05/0.1815, allocations: 35.98 kB / 0.6082 GB, free: 2.629 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.0007188/0.1822, allocations: 487.3 kB / 0.6087 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.1824, allocations: 58.5 kB / 0.6087 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.57e-05/0.1824, allocations: 24.98 kB / 0.6088 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.1824, allocations: 0 / 0.6088 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.1825, allocations: 38.55 kB / 0.6088 GB, free: 1.938 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.1825, allocations: 0 / 0.6088 GB, free: 1.938 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002255/0.1827, allocations: 77.61 kB / 0.6089 GB, free: 1.855 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.1828, allocations: 59.33 kB / 0.6089 GB, free: 1.785 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.183, allocations: 182.3 kB / 0.6091 GB, free: 1.598 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.183, allocations: 25.7 kB / 0.6091 GB, free: 1.566 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.74e-05/0.1831, allocations: 116.1 kB / 0.6092 GB, free: 1.449 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.1831, allocations: 19.94 kB / 0.6093 GB, free: 1.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.1832, allocations: 13.72 kB / 0.6093 GB, free: 1.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.1833, allocations: 330.8 kB / 0.6096 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.443e-05/0.1834, allocations: 11.98 kB / 0.6096 GB, free: 1.066 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.17e-05/0.1834, allocations: 12 kB / 0.6096 GB, free: 1.055 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.1837, allocations: 76.83 kB / 0.6097 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1837, allocations: 0 / 0.6097 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001205/0.1838, allocations: 73.55 kB / 0.6098 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1838, allocations: 11.98 kB / 0.6098 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1838, allocations: 0 / 0.6098 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1839, allocations: 0 / 0.6098 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.816e-05/0.1839, allocations: 15.88 kB / 0.6098 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1839, allocations: 448 / 0.6098 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.111e-05/0.184, allocations: 0 / 0.6098 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.184, allocations: 4 kB / 0.6098 GB, free: 0.8672 MB / 430.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.0001891/0.1842, allocations: 127.7 kB / 0.6099 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.1842, allocations: 23.83 kB / 0.6099 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.1843, allocations: 13 kB / 0.6099 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1843, allocations: 3.938 kB / 0.6099 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1843, allocations: 0 / 0.6099 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1843, allocations: 0 / 0.6099 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.1845, allocations: 213.5 kB / 0.6102 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1845, allocations: 0 / 0.6102 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/0.1846, allocations: 16 kB / 0.6102 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1846, allocations: 0 / 0.6102 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1846, allocations: 0 / 0.6102 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1846, allocations: 3.938 kB / 0.6102 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1846, allocations: 0 / 0.6102 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.1849, allocations: 187.4 kB / 0.6103 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.664e-05/0.185, allocations: 97.03 kB / 0.6104 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.185, allocations: 0 / 0.6104 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.642e-05/0.1851, allocations: 8 kB / 0.6104 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.1851, allocations: 7.984 kB / 0.6105 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.1851, allocations: 0 / 0.6105 GB, free: 88 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.1852, allocations: 128.4 kB / 0.6106 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1852, allocations: 0 / 0.6106 GB, free: 15.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.1855, allocations: 28 kB / 0.6106 GB, free: 15.93 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.0005758/0.186, allocations: 0.7241 MB / 0.6113 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.1862, allocations: 36.11 kB / 0.6113 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1862, allocations: 0 / 0.6113 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.33e-05/0.1862, allocations: 19.94 kB / 0.6114 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.1867, allocations: 68.33 kB / 0.6114 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.1886, allocations: 1.7 MB / 0.6131 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.189, allocations: 0.7084 MB / 0.6138 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.501e-05/0.1891, allocations: 13.06 kB / 0.6138 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.736e-05/0.1892, allocations: 39.42 kB / 0.6138 GB, free: 12.5 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1892, allocations: 0 / 0.6138 GB, free: 12.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/0.22, allocations: 3.466 MB / 0.6172 GB, free: 9.098 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/8.222, allocations: 3.281 kB / 0.6172 GB, free: 9.098 MB / 446.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.594428096999764] Failed to read output from testmodel.py, exit status != 0: 8.293330993998097 8.316437921 8.132122833 Calling exit ...