Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.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.1721/0.1721, allocations: 23.86 MB / 43.46 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.001291/0.001291, allocations: 107.6 kB / 53.14 MB, free: 356 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.001996/0.001996, allocations: 206.3 kB / 62.97 MB, free: 2.168 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.549/1.549, allocations: 230.6 MB / 303.2 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.1606/0.1606, allocations: 23.71 MB / 389.9 MB, free: 9.172 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.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") [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.003439/0.003439, allocations: 132.7 kB / 0.5264 GB, free: 42.18 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.133, allocations: 65.96 MB / 0.5908 GB, free: 9.34 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.SkinHeatTransferOnBloodFlow): time 0.03751/0.1705, allocations: 22.86 MB / 0.6131 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1718, allocations: 486.7 kB / 0.6136 GB, free: 2.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.1719, allocations: 11.94 kB / 0.6136 GB, free: 2.059 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.172, allocations: 15.8 kB / 0.6136 GB, free: 2.043 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.1721, allocations: 47.62 kB / 0.6137 GB, free: 1.996 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.96e-05/0.1722, allocations: 7.984 kB / 0.6137 GB, free: 1.988 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.1724, allocations: 107.4 kB / 0.6138 GB, free: 1.883 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.1725, allocations: 25.03 kB / 0.6138 GB, free: 1.855 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.583e-05/0.1726, allocations: 47.73 kB / 0.6139 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.594e-05/0.1726, allocations: 31.8 kB / 0.6139 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.1727, allocations: 8 kB / 0.6139 GB, free: 1.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.1727, allocations: 4 kB / 0.6139 GB, free: 1.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.051e-05/0.1727, allocations: 11.94 kB / 0.6139 GB, free: 1.754 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.277e-05/0.1728, allocations: 47.75 kB / 0.614 GB, free: 1.707 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.1729, allocations: 83.59 kB / 0.614 GB, free: 1.625 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.1729, allocations: 8 kB / 0.6141 GB, free: 1.617 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1729, allocations: 0 / 0.6141 GB, free: 1.617 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1729, allocations: 0 / 0.6141 GB, free: 1.617 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005311/0.1735, allocations: 337.7 kB / 0.6144 GB, free: 1.258 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1735, allocations: 8.031 kB / 0.6144 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.1736, allocations: 24.81 kB / 0.6144 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.1738, allocations: 154.2 kB / 0.6146 GB, free: 1.051 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.1738, allocations: 8.312 kB / 0.6146 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.1739, allocations: 4.375 kB / 0.6146 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.174, allocations: 62 kB / 0.6146 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.174, allocations: 0 / 0.6146 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.174, allocations: 4 kB / 0.6146 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.174, allocations: 0 / 0.6146 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.649e-05/0.1741, allocations: 23.98 kB / 0.6146 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/0.1747, allocations: 462.2 kB / 0.6151 GB, free: 460 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.1748, allocations: 169.1 kB / 0.6153 GB, free: 280 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.925e-05/0.1749, allocations: 92.08 kB / 0.6153 GB, free: 184 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.1749, allocations: 75.28 kB / 0.6154 GB, free: 108 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.916e-05/0.175, allocations: 105.8 kB / 0.6155 GB, free: 15.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.175, allocations: 0 / 0.6155 GB, free: 15.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 9.519e-05/0.1751, allocations: 41.61 kB / 0.6156 GB, free: 15.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.1752, allocations: 130.6 kB / 0.6157 GB, free: 15.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.1754, allocations: 187.2 kB / 0.6159 GB, free: 15.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1754, allocations: 25.7 kB / 0.6159 GB, free: 15.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.1755, allocations: 108.1 kB / 0.616 GB, free: 15.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-06/0.1755, allocations: 0 / 0.616 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.1755, allocations: 13.72 kB / 0.616 GB, free: 15.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1757, allocations: 318.9 kB / 0.6163 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.1757, allocations: 11.88 kB / 0.6163 GB, free: 15.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-06/0.1757, allocations: 0 / 0.6163 GB, free: 15.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.667e-05/0.1757, allocations: 16.92 kB / 0.6163 GB, free: 15.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1758, allocations: 4 kB / 0.6163 GB, free: 15.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001102/0.1759, allocations: 49.59 kB / 0.6164 GB, free: 15.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1759, allocations: 4 kB / 0.6164 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1759, allocations: 0 / 0.6164 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1759, allocations: 0 / 0.6164 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.11e-05/0.1759, allocations: 3.938 kB / 0.6164 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1759, allocations: 4 kB / 0.6164 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.652e-05/0.176, allocations: 0 / 0.6164 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.176, allocations: 7.938 kB / 0.6164 GB, free: 15.02 MB / 446.1 MB 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 (1): * Single equations (assignments): 1 * 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.0001151/0.1761, allocations: 189.2 kB / 0.6166 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.227e-05/0.1762, allocations: 124.9 kB / 0.6167 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.728e-05/0.1763, allocations: 113.3 kB / 0.6168 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-05/0.1763, allocations: 188.1 kB / 0.617 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.198e-05/0.1764, allocations: 184.2 kB / 0.6172 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-05/0.1765, allocations: 184.2 kB / 0.6173 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.1768, allocations: 404.3 kB / 0.6177 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.497e-05/0.1769, allocations: 104.9 kB / 0.6178 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.1769, allocations: 104.9 kB / 0.6179 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.775e-05/0.177, allocations: 180.3 kB / 0.6181 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.669e-05/0.1771, allocations: 188.2 kB / 0.6183 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.671e-05/0.1772, allocations: 184.2 kB / 0.6184 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.537e-05/0.1773, allocations: 176.3 kB / 0.6186 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.1774, allocations: 307.7 kB / 0.6189 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.1776, allocations: 124.8 kB / 0.619 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.1777, allocations: 188.3 kB / 0.6192 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1778, allocations: 104.9 kB / 0.6193 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.178, allocations: 180.2 kB / 0.6195 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/0.178, allocations: 105 kB / 0.6196 GB, free: 11.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.1782, allocations: 137.2 kB / 0.6197 GB, free: 11.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1782, allocations: 0 / 0.6197 GB, free: 11.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.1785, allocations: 15.94 kB / 0.6197 GB, free: 11.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0001329/0.1786, allocations: 170.5 kB / 0.6199 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.368e-05/0.1787, allocations: 7.922 kB / 0.6199 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1787, allocations: 7.938 kB / 0.6199 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.1787, allocations: 0 / 0.6199 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006624/0.1793, allocations: 0.4919 MB / 0.6204 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004547/0.1798, allocations: 310 kB / 0.6207 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1801, allocations: 0.6963 MB / 0.6214 GB, free: 9.652 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.1802, allocations: 15.44 kB / 0.6214 GB, free: 9.641 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1802, allocations: 0 / 0.6214 GB, free: 9.641 MB / 446.1 MB Notification: Performance of Templates: time 0.003474/0.1836, allocations: 1.465 MB / 0.6228 GB, free: 8.191 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.836125175934285] Failed to read output from testmodel.py, exit status != 0: 0.1920833671465516 0.20791661700000003 0.031854288 Calling exit ...