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.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.0863/0.0863, allocations: 15.28 MB / 30.78 MB, free: 4.215 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001074, allocations: 106.9 kB / 35.78 MB, free: 3.234 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 197 kB / 40.88 MB, free: 7.223 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 268.7 MB, free: 6.809 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1345/0.1345, allocations: 23.35 MB / 346.4 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 111.8 kB / 418.2 MB, free: 30.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09774/0.09962, allocations: 59.36 MB / 477.6 MB, free: 3.012 MB / 334.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.02914/0.1288, allocations: 21.65 MB / 499.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008597/0.1297, allocations: 442.9 kB / 499.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.1298, allocations: 4 kB / 499.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.1299, allocations: 15.8 kB / 499.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.1301, allocations: 51.62 kB / 499.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.896e-05/0.1301, allocations: 7.984 kB / 499.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.1303, allocations: 111.3 kB / 499.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1304, allocations: 29.05 kB / 499.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.363e-05/0.1304, allocations: 31.88 kB / 499.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.979e-05/0.1305, allocations: 43.72 kB / 499.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1305, allocations: 4 kB / 499.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.617e-05/0.1305, allocations: 4 kB / 499.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.1306, allocations: 7.938 kB / 500 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.189e-05/0.1306, allocations: 55.73 kB / 0.4883 GB, free: 12.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.1307, allocations: 91.66 kB / 0.4884 GB, free: 12.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1308, allocations: 0 / 0.4884 GB, free: 12.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1308, allocations: 0 / 0.4884 GB, free: 12.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.1308, allocations: 0 / 0.4884 GB, free: 12.61 MB / 366.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.0004156/0.1312, allocations: 413.2 kB / 0.4888 GB, free: 12.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1312, allocations: 8.031 kB / 0.4888 GB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.1313, allocations: 12.84 kB / 0.4888 GB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.1315, allocations: 212 kB / 0.489 GB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-06/0.1315, allocations: 4.375 kB / 0.489 GB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.1315, allocations: 8.375 kB / 0.489 GB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.1316, allocations: 65.98 kB / 0.4891 GB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.1316, allocations: 0 / 0.4891 GB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1316, allocations: 0 / 0.4891 GB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1316, allocations: 0 / 0.4891 GB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.898e-05/0.1317, allocations: 27.92 kB / 0.4891 GB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.1321, allocations: 487.1 kB / 0.4896 GB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.729e-05/0.1322, allocations: 177.1 kB / 0.4897 GB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.389e-05/0.1322, allocations: 80.14 kB / 0.4898 GB, free: 11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.1323, allocations: 79.28 kB / 0.4899 GB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.1323, allocations: 109.8 kB / 0.49 GB, free: 10.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.1323, allocations: 0 / 0.49 GB, free: 10.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 6.726e-05/0.1324, allocations: 41.45 kB / 0.49 GB, free: 10.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.1325, allocations: 130.6 kB / 0.4902 GB, free: 10.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.1326, allocations: 183.7 kB / 0.4903 GB, free: 10.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.1326, allocations: 25.7 kB / 0.4904 GB, free: 10.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.1327, allocations: 112 kB / 0.4905 GB, free: 10.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.1327, allocations: 0 / 0.4905 GB, free: 10.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.1327, allocations: 17.72 kB / 0.4905 GB, free: 10.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.1328, allocations: 322.8 kB / 0.4908 GB, free: 9.926 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-06/0.1328, allocations: 0 / 0.4908 GB, free: 9.926 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-06/0.1329, allocations: 4 kB / 0.4908 GB, free: 9.922 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.303e-05/0.1329, allocations: 8.859 kB / 0.4908 GB, free: 9.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1329, allocations: 0 / 0.4908 GB, free: 9.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.16e-05/0.133, allocations: 49.53 kB / 0.4908 GB, free: 9.855 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.133, allocations: 6.75 kB / 0.4908 GB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.133, allocations: 4 kB / 0.4909 GB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.133, allocations: 4 kB / 0.4909 GB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.24e-05/0.1331, allocations: 7.938 kB / 0.4909 GB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.1331, allocations: 0 / 0.4909 GB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.464e-05/0.1331, allocations: 0 / 0.4909 GB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.1331, allocations: 4 kB / 0.4909 GB, free: 9.832 MB / 366.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 8.365e-05/0.1332, allocations: 189.1 kB / 0.491 GB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/0.1333, allocations: 120.7 kB / 0.4912 GB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.1333, allocations: 117.5 kB / 0.4913 GB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.813e-05/0.1334, allocations: 180.2 kB / 0.4914 GB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.893e-05/0.1334, allocations: 188.2 kB / 0.4916 GB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.574e-05/0.1335, allocations: 184.2 kB / 0.4918 GB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.1337, allocations: 433.1 kB / 0.4922 GB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.059e-05/0.1338, allocations: 109 kB / 0.4923 GB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.734e-05/0.1338, allocations: 101.1 kB / 0.4924 GB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-05/0.1338, allocations: 184.1 kB / 0.4926 GB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/0.1339, allocations: 180.2 kB / 0.4928 GB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.735e-05/0.1339, allocations: 192.1 kB / 0.4929 GB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.55e-05/0.134, allocations: 180.3 kB / 0.4931 GB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.1341, allocations: 315.7 kB / 0.4934 GB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.1342, allocations: 194 kB / 0.4936 GB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/0.1343, allocations: 180.2 kB / 0.4938 GB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.1343, allocations: 104.9 kB / 0.4939 GB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.1344, allocations: 180.3 kB / 0.494 GB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.1344, allocations: 112.9 kB / 0.4942 GB, free: 6.238 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.828e-05/0.1345, allocations: 133.2 kB / 0.4943 GB, free: 6.109 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1345, allocations: 0 / 0.4943 GB, free: 6.109 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.1348, allocations: 19.91 kB / 0.4943 GB, free: 6.09 MB / 366.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 8.392e-05/0.1348, allocations: 166.5 kB / 0.4945 GB, free: 5.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.531e-05/0.1349, allocations: 7.984 kB / 0.4945 GB, free: 5.906 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.1349, allocations: 4.062 kB / 0.4945 GB, free: 5.902 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.1349, allocations: 0 / 0.4945 GB, free: 5.902 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.1354, allocations: 0.4957 MB / 0.495 GB, free: 5.402 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.1358, allocations: 284 kB / 0.4952 GB, free: 5.098 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.136, allocations: 0.7039 MB / 0.4959 GB, free: 4.367 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.718e-05/0.136, allocations: 8.641 kB / 0.4959 GB, free: 4.359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.1361, allocations: 11.44 kB / 0.4959 GB, free: 4.348 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1361, allocations: 3.938 kB / 0.4959 GB, free: 4.344 MB / 366.1 MB Notification: Performance of Templates: time 0.00352/0.1396, allocations: 1.533 MB / 0.4974 GB, free: 2.836 MB / 366.1 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.makefile (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)