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.1613/0.1613, allocations: 23.88 MB / 42.7 MB, free: 2.641 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.001505/0.001505, allocations: 107.4 kB / 52.39 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.002001/0.002001, allocations: 206.3 kB / 62.22 MB, free: 2.16 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.415/1.415, allocations: 230.6 MB / 302.5 MB, free: 6.832 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.1381/0.1381, allocations: 23.72 MB / 389.1 MB, free: 9.176 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.003288/0.003288, allocations: 116.3 kB / 0.5252 GB, free: 42.5 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1297, allocations: 65.97 MB / 0.5896 GB, free: 9.965 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.03814/0.1678, allocations: 23.03 MB / 0.6121 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.169, allocations: 0.5221 MB / 0.6126 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.1692, allocations: 3.938 kB / 0.6126 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.1693, allocations: 27.78 kB / 0.6126 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.1694, allocations: 59.48 kB / 0.6127 GB, free: 2.387 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.1695, allocations: 11.98 kB / 0.6127 GB, free: 2.375 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.1697, allocations: 151.1 kB / 0.6128 GB, free: 2.227 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1699, allocations: 25.67 kB / 0.6129 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.011e-05/0.1699, allocations: 63.73 kB / 0.6129 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.17, allocations: 47.73 kB / 0.613 GB, free: 2.086 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.1701, allocations: 4 kB / 0.613 GB, free: 2.082 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.202e-05/0.1701, allocations: 8 kB / 0.613 GB, free: 2.074 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.401e-05/0.1701, allocations: 23.91 kB / 0.613 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.068e-05/0.1702, allocations: 67.61 kB / 0.6131 GB, free: 1.984 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.1704, allocations: 119.4 kB / 0.6132 GB, free: 1.867 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1704, allocations: 3.938 kB / 0.6132 GB, free: 1.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1704, allocations: 0 / 0.6132 GB, free: 1.863 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1704, allocations: 0 / 0.6132 GB, free: 1.863 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.0005822/0.171, allocations: 361.6 kB / 0.6135 GB, free: 1.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.171, allocations: 12.03 kB / 0.6136 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.358e-05/0.1711, allocations: 34.75 kB / 0.6136 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.1711, allocations: 16.84 kB / 0.6136 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1714, allocations: 190.1 kB / 0.6138 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1714, allocations: 8.375 kB / 0.6138 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.1714, allocations: 4.375 kB / 0.6138 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1716, allocations: 77.31 kB / 0.6139 GB, free: 1.109 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1716, allocations: 4 kB / 0.6139 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1716, allocations: 4 kB / 0.6139 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1716, allocations: 0 / 0.6139 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.253e-05/0.1717, allocations: 35.98 kB / 0.6139 GB, free: 1.066 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.000628/0.1723, allocations: 462.3 kB / 0.6143 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.1724, allocations: 58.5 kB / 0.6144 GB, free: 492 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.1725, allocations: 20.98 kB / 0.6144 GB, free: 468 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.1725, allocations: 0 / 0.6144 GB, free: 468 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.1725, allocations: 30.56 kB / 0.6145 GB, free: 428 kB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.1725, allocations: 0 / 0.6145 GB, free: 428 kB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002237/0.1727, allocations: 89.53 kB / 0.6145 GB, free: 332 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1728, allocations: 59.34 kB / 0.6146 GB, free: 260 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.173, allocations: 182.3 kB / 0.6148 GB, free: 68 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.173, allocations: 25.7 kB / 0.6148 GB, free: 36 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.1731, allocations: 112.2 kB / 0.6149 GB, free: 15.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.1731, allocations: 19.84 kB / 0.6149 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.1732, allocations: 17.72 kB / 0.6149 GB, free: 15.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1733, allocations: 326.8 kB / 0.6152 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.787e-05/0.1734, allocations: 12 kB / 0.6153 GB, free: 15.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.492e-05/0.1734, allocations: 15.98 kB / 0.6153 GB, free: 15.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.1737, allocations: 68.83 kB / 0.6153 GB, free: 15.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1737, allocations: 3.938 kB / 0.6153 GB, free: 15.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001187/0.1738, allocations: 77.92 kB / 0.6154 GB, free: 15.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1738, allocations: 4 kB / 0.6154 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1738, allocations: 0 / 0.6154 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1738, allocations: 0 / 0.6154 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.351e-05/0.1739, allocations: 23.98 kB / 0.6154 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1739, allocations: 4 kB / 0.6155 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.174, allocations: 3.938 kB / 0.6155 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.174, allocations: 0 / 0.6155 GB, free: 15.33 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.0001915/0.1742, allocations: 121.8 kB / 0.6156 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.1742, allocations: 11.91 kB / 0.6156 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.097e-05/0.1742, allocations: 17.08 kB / 0.6156 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.1743, allocations: 7.938 kB / 0.6156 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1743, allocations: 4 kB / 0.6156 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1743, allocations: 0 / 0.6156 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.1745, allocations: 172.7 kB / 0.6158 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1745, allocations: 0 / 0.6158 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.94e-05/0.1746, allocations: 11.92 kB / 0.6158 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1746, allocations: 4 kB / 0.6158 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1746, allocations: 7.984 kB / 0.6158 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.1746, allocations: 3.938 kB / 0.6158 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1746, allocations: 0 / 0.6158 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.1748, allocations: 187.5 kB / 0.616 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.1749, allocations: 19.92 kB / 0.616 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.1749, allocations: 3.938 kB / 0.616 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.175, allocations: 3.938 kB / 0.616 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.175, allocations: 0 / 0.616 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.175, allocations: 4 kB / 0.616 GB, free: 14.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.1751, allocations: 131.2 kB / 0.6161 GB, free: 14.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1751, allocations: 0 / 0.6161 GB, free: 14.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.1753, allocations: 24 kB / 0.6162 GB, free: 14.54 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.0005033/0.1758, allocations: 0.7242 MB / 0.6169 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.176, allocations: 28 kB / 0.6169 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.176, allocations: 0 / 0.6169 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.883e-05/0.176, allocations: 19.92 kB / 0.6169 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.1765, allocations: 69.89 kB / 0.617 GB, free: 13.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.1783, allocations: 1.697 MB / 0.6186 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.1787, allocations: 0.7045 MB / 0.6193 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.086e-05/0.1788, allocations: 17.06 kB / 0.6193 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.717e-05/0.1788, allocations: 39.38 kB / 0.6194 GB, free: 11.11 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1788, allocations: 0 / 0.6194 GB, free: 11.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.2106, allocations: 3.598 MB / 0.6229 GB, free: 7.637 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.9, allocations: 0.8594 kB / 0.6229 GB, free: 7.637 MB / 446.1 MB " [Timeout remaining time 649] (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: 14.072506870004872] Failed to read output from testmodel.py, exit status != 0: 11.00077768600022 11.022296882 10.847879178 Calling exit ...