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 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.08896/0.08896, allocations: 11.15 MB / 30.84 MB, free: 6.121 MB / 26.18 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.001281/0.001281, allocations: 88.38 kB / 38.4 MB, free: 7.914 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.001491/0.001491, allocations: 168.5 kB / 46.06 MB, free: 248 kB / 34.91 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.332/1.332, allocations: 177.2 MB / 230.8 MB, free: 8.039 MB / 206.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.1335/0.1335, allocations: 17.63 MB / 309.3 MB, free: 12.82 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 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/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: Requested package Chemical of version 1.4.0, but this package was already loaded with version 1.4.1. There are no conversion annotations and 1.4.0 is older than 1.4.1, so the libraries are probably incompatible. Notification: Performance of FrontEnd - loaded program: time 0.004016/0.004016, allocations: 124.5 kB / 454.1 MB, free: 312 kB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1096, allocations: 63.83 MB / 0.5058 GB, free: 352 kB / 462.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.07033/0.1799, allocations: 22.96 MB / 0.5282 GB, free: 9.484 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009909/0.1809, allocations: 454.9 kB / 0.5287 GB, free: 9.035 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.448e-05/0.181, allocations: 3.938 kB / 0.5287 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.1811, allocations: 23.8 kB / 0.5287 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.1812, allocations: 39.64 kB / 0.5287 GB, free: 8.969 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.034e-05/0.1813, allocations: 11.98 kB / 0.5287 GB, free: 8.957 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.1815, allocations: 111.3 kB / 0.5288 GB, free: 8.848 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.38e-05/0.1816, allocations: 21.28 kB / 0.5289 GB, free: 8.828 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.364e-05/0.1816, allocations: 43.8 kB / 0.5289 GB, free: 8.785 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.893e-05/0.1817, allocations: 35.67 kB / 0.5289 GB, free: 8.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.1817, allocations: 8 kB / 0.5289 GB, free: 8.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.735e-05/0.1817, allocations: 4 kB / 0.5289 GB, free: 8.738 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.1817, allocations: 11.94 kB / 0.529 GB, free: 8.727 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.1818, allocations: 35.81 kB / 0.529 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.1819, allocations: 87.59 kB / 0.5291 GB, free: 8.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1819, allocations: 4 kB / 0.5291 GB, free: 8.602 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1819, allocations: 0 / 0.5291 GB, free: 8.602 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1819, allocations: 0 / 0.5291 GB, free: 8.602 MB / 494.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.0004605/0.1824, allocations: 345.7 kB / 0.5294 GB, free: 8.234 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.1824, allocations: 11.98 kB / 0.5294 GB, free: 8.223 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.1825, allocations: 12.89 kB / 0.5294 GB, free: 8.211 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.1827, allocations: 154.3 kB / 0.5296 GB, free: 8.035 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1827, allocations: 8.375 kB / 0.5296 GB, free: 8.027 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.1827, allocations: 4.375 kB / 0.5296 GB, free: 8.023 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.1829, allocations: 61.94 kB / 0.5296 GB, free: 7.957 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1829, allocations: 4 kB / 0.5297 GB, free: 7.953 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.1829, allocations: 0 / 0.5297 GB, free: 7.953 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1829, allocations: 3.938 kB / 0.5297 GB, free: 7.949 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.245e-05/0.1829, allocations: 23.98 kB / 0.5297 GB, free: 7.926 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.1834, allocations: 414.9 kB / 0.5301 GB, free: 7.488 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.716e-05/0.1835, allocations: 169.1 kB / 0.5302 GB, free: 7.312 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/0.1835, allocations: 88.14 kB / 0.5303 GB, free: 7.223 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.1836, allocations: 75.28 kB / 0.5304 GB, free: 7.148 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.544e-05/0.1836, allocations: 109.8 kB / 0.5305 GB, free: 7.031 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.1836, allocations: 0 / 0.5305 GB, free: 7.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 9.509e-05/0.1837, allocations: 41.59 kB / 0.5305 GB, free: 6.984 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.1838, allocations: 126.7 kB / 0.5307 GB, free: 6.848 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.1839, allocations: 163.2 kB / 0.5308 GB, free: 6.672 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.184, allocations: 25.7 kB / 0.5308 GB, free: 6.641 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.717e-05/0.184, allocations: 120 kB / 0.531 GB, free: 6.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.1841, allocations: 0 / 0.531 GB, free: 6.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.1841, allocations: 13.7 kB / 0.531 GB, free: 6.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1842, allocations: 322.8 kB / 0.5313 GB, free: 6.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.1842, allocations: 4 kB / 0.5313 GB, free: 6.172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-06/0.1842, allocations: 4 kB / 0.5313 GB, free: 6.168 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.29e-05/0.1843, allocations: 4.859 kB / 0.5313 GB, free: 6.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1843, allocations: 112 / 0.5313 GB, free: 6.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000107/0.1844, allocations: 57.52 kB / 0.5313 GB, free: 6.098 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.1844, allocations: 4 kB / 0.5313 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.1844, allocations: 0 / 0.5313 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1844, allocations: 0 / 0.5313 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.176e-05/0.1844, allocations: 12.03 kB / 0.5314 GB, free: 6.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1844, allocations: 3.938 kB / 0.5314 GB, free: 6.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.258e-05/0.1845, allocations: 0 / 0.5314 GB, free: 6.078 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.1845, allocations: 0 / 0.5314 GB, free: 6.078 MB / 494.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.1846, allocations: 189.1 kB / 0.5315 GB, free: 5.883 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.618e-05/0.1847, allocations: 116.9 kB / 0.5317 GB, free: 5.762 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.289e-05/0.1847, allocations: 113.5 kB / 0.5318 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.45e-05/0.1848, allocations: 180.3 kB / 0.5319 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-05/0.1849, allocations: 184.1 kB / 0.5321 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.901e-05/0.185, allocations: 180.2 kB / 0.5323 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.1852, allocations: 392.8 kB / 0.5327 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.324e-05/0.1853, allocations: 101 kB / 0.5328 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.662e-05/0.1853, allocations: 101 kB / 0.5328 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.357e-05/0.1854, allocations: 184.2 kB / 0.533 GB, free: 4.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.138e-05/0.1855, allocations: 180.2 kB / 0.5332 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.951e-05/0.1856, allocations: 184.2 kB / 0.5334 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-05/0.1856, allocations: 180.3 kB / 0.5335 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.1858, allocations: 311.7 kB / 0.5338 GB, free: 3.387 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.72e-05/0.1859, allocations: 120.9 kB / 0.534 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.162e-05/0.186, allocations: 180.2 kB / 0.5341 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1861, allocations: 101 kB / 0.5342 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/0.1861, allocations: 184.3 kB / 0.5344 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/0.1862, allocations: 112.8 kB / 0.5345 GB, free: 2.668 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.831e-05/0.1863, allocations: 120 kB / 0.5346 GB, free: 2.551 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1863, allocations: 0 / 0.5346 GB, free: 2.551 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.1865, allocations: 19.89 kB / 0.5346 GB, free: 2.531 MB / 494.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.0001087/0.1866, allocations: 167.1 kB / 0.5348 GB, free: 2.359 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.003e-05/0.1867, allocations: 4 kB / 0.5348 GB, free: 2.355 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1867, allocations: 4 kB / 0.5348 GB, free: 2.352 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.587e-06/0.1867, allocations: 3.938 kB / 0.5348 GB, free: 2.348 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005622/0.1873, allocations: 499.7 kB / 0.5353 GB, free: 1.855 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.1877, allocations: 280.5 kB / 0.5356 GB, free: 1.551 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.82e-05/0.1878, allocations: 92.12 kB / 0.5356 GB, free: 1.441 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.029e-05/0.1878, allocations: 16.47 kB / 0.5357 GB, free: 1.426 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.14e-05/0.1878, allocations: 12.5 kB / 0.5357 GB, free: 1.414 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1878, allocations: 0 / 0.5357 GB, free: 1.414 MB / 494.1 MB Notification: Performance of Templates: time 0.003799/0.1916, allocations: 1.259 MB / 0.5369 GB, free: 192 kB / 494.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 -s ida -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.561277298955247] Failed to read output from testmodel.py, exit status != 0: 0.2002090469468385 0.21430894 0.029349527 Calling exit ...