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.1556/0.1556, allocations: 23.86 MB / 43.45 MB, free: 2.664 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.001247/0.001247, allocations: 105.7 kB / 53.14 MB, free: 368 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.001603/0.001603, allocations: 202.3 kB / 62.97 MB, free: 2.176 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.541/1.541, allocations: 230.6 MB / 303.2 MB, free: 6.848 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.1794/0.1794, allocations: 23.71 MB / 389.9 MB, free: 9.18 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: 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: 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.003622/0.003622, allocations: 120.1 kB / 0.5264 GB, free: 42.27 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1326, allocations: 65.96 MB / 0.5908 GB, free: 9.465 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.03842/0.171, allocations: 23.03 MB / 0.6133 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1723, allocations: 0.5221 MB / 0.6138 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.1724, allocations: 11.94 kB / 0.6138 GB, free: 1.969 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.1726, allocations: 19.78 kB / 0.6139 GB, free: 1.949 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.1727, allocations: 59.48 kB / 0.6139 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.1729, allocations: 19.97 kB / 0.6139 GB, free: 1.871 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.1731, allocations: 155 kB / 0.6141 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.1732, allocations: 29.66 kB / 0.6141 GB, free: 1.684 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1734, allocations: 47.8 kB / 0.6141 GB, free: 1.637 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.1735, allocations: 59.66 kB / 0.6142 GB, free: 1.578 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.1735, allocations: 15.94 kB / 0.6142 GB, free: 1.562 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.361e-05/0.1735, allocations: 8 kB / 0.6142 GB, free: 1.555 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.1736, allocations: 11.92 kB / 0.6142 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.958e-05/0.1736, allocations: 67.62 kB / 0.6143 GB, free: 1.477 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.1738, allocations: 123.4 kB / 0.6144 GB, free: 1.355 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1738, allocations: 0 / 0.6144 GB, free: 1.355 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1739, allocations: 0 / 0.6144 GB, free: 1.355 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.1739, allocations: 0 / 0.6144 GB, free: 1.355 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.0006284/0.1745, allocations: 373.6 kB / 0.6148 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.1745, allocations: 8.031 kB / 0.6148 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.1746, allocations: 16.84 kB / 0.6148 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.1749, allocations: 174.2 kB / 0.615 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1749, allocations: 384 / 0.615 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.1749, allocations: 8.375 kB / 0.615 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1751, allocations: 81.02 kB / 0.6151 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.1751, allocations: 11.98 kB / 0.6151 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1751, allocations: 0 / 0.6151 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1751, allocations: 0 / 0.6151 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.2e-05/0.1752, allocations: 35.98 kB / 0.6151 GB, free: 0.6055 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.0006754/0.1759, allocations: 450.4 kB / 0.6155 GB, free: 100 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.176, allocations: 62.56 kB / 0.6156 GB, free: 28 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.452e-05/0.1761, allocations: 16.98 kB / 0.6156 GB, free: 8 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.1761, allocations: 0 / 0.6156 GB, free: 8 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.156e-05/0.1761, allocations: 30.56 kB / 0.6156 GB, free: 15.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.1761, allocations: 0 / 0.6156 GB, free: 15.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002357/0.1764, allocations: 89.53 kB / 0.6157 GB, free: 15.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.1764, allocations: 59.34 kB / 0.6158 GB, free: 15.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.1766, allocations: 182.3 kB / 0.6159 GB, free: 15.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1766, allocations: 33.7 kB / 0.616 GB, free: 15.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/0.1767, allocations: 108.2 kB / 0.6161 GB, free: 15.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.1767, allocations: 19.86 kB / 0.6161 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.1768, allocations: 17.72 kB / 0.6161 GB, free: 15.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1769, allocations: 322.8 kB / 0.6164 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.961e-05/0.177, allocations: 11.98 kB / 0.6164 GB, free: 15.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.177, allocations: 12 kB / 0.6165 GB, free: 15.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.1773, allocations: 81.14 kB / 0.6165 GB, free: 15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1773, allocations: 0 / 0.6165 GB, free: 15 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001191/0.1774, allocations: 73.61 kB / 0.6166 GB, free: 14.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1774, allocations: 4 kB / 0.6166 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1774, allocations: 7.922 kB / 0.6166 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1775, allocations: 0 / 0.6166 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.653e-05/0.1775, allocations: 8 kB / 0.6166 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.1775, allocations: 11.88 kB / 0.6166 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.1776, allocations: 7.938 kB / 0.6166 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.1776, allocations: 4 kB / 0.6166 GB, free: 14.88 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.0001728/0.1778, allocations: 122.6 kB / 0.6168 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.1778, allocations: 11.91 kB / 0.6168 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.1778, allocations: 21.08 kB / 0.6168 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1778, allocations: 4 kB / 0.6168 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1779, allocations: 3.938 kB / 0.6168 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1779, allocations: 0 / 0.6168 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.1781, allocations: 180.7 kB / 0.617 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1781, allocations: 4 kB / 0.617 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.19e-05/0.1782, allocations: 4 kB / 0.617 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1782, allocations: 4 kB / 0.617 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1782, allocations: 0 / 0.617 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1782, allocations: 0 / 0.617 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1782, allocations: 3.938 kB / 0.617 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.1784, allocations: 195.5 kB / 0.6172 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.1785, allocations: 15.92 kB / 0.6172 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.1785, allocations: 4.062 kB / 0.6172 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.1786, allocations: 4 kB / 0.6172 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.1786, allocations: 7.922 kB / 0.6172 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.1786, allocations: 7.984 kB / 0.6172 GB, free: 14.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.1787, allocations: 127.2 kB / 0.6173 GB, free: 14.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1787, allocations: 0 / 0.6173 GB, free: 14.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.1789, allocations: 20 kB / 0.6173 GB, free: 14.07 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.000102/0.179, allocations: 91.25 kB / 0.6174 GB, free: 13.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.1792, allocations: 39.98 kB / 0.6175 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1792, allocations: 0 / 0.6175 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.106e-05/0.1792, allocations: 15.94 kB / 0.6175 GB, free: 13.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.1797, allocations: 64.84 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.0006364/0.1803, allocations: 354 kB / 0.6179 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.1806, allocations: 0.7123 MB / 0.6186 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.1807, allocations: 11.44 kB / 0.6186 GB, free: 12.73 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1807, allocations: 3.938 kB / 0.6186 GB, free: 12.73 MB / 446.1 MB Notification: Performance of Templates: time 0.003757/0.1844, allocations: 1.75 MB / 0.6203 GB, free: 11 MB / 446.1 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=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.063815754139796] Failed to read output from testmodel.py, exit status != 0: 0.1922908870037645 0.207961892 0.030978054 Calling exit ...