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.09742/0.09742, allocations: 15.28 MB / 31.53 MB, free: 3.992 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.001192/0.001192, allocations: 114.4 kB / 36.54 MB, free: 3.258 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.001299/0.001299, allocations: 193.1 kB / 41.64 MB, free: 7.137 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.347/1.347, allocations: 222.9 MB / 269.5 MB, free: 6.891 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1292/0.1292, allocations: 23.35 MB / 347.2 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001992, allocations: 107.8 kB / 419.7 MB, free: 29.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.109, allocations: 59.37 MB / 479 MB, free: 2.281 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.02937/0.1384, allocations: 21.44 MB / 0.4887 GB, free: 12.99 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008731/0.1393, allocations: 438.9 kB / 0.4892 GB, free: 12.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.484e-05/0.1394, allocations: 4 kB / 0.4892 GB, free: 12.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.1395, allocations: 15.8 kB / 0.4892 GB, free: 12.54 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.282e-05/0.1396, allocations: 47.64 kB / 0.4892 GB, free: 12.49 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5e-05/0.1396, allocations: 7.984 kB / 0.4892 GB, free: 12.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.1398, allocations: 115.3 kB / 0.4893 GB, free: 12.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1399, allocations: 25.11 kB / 0.4894 GB, free: 12.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.392e-05/0.14, allocations: 27.88 kB / 0.4894 GB, free: 12.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.013e-05/0.1401, allocations: 39.8 kB / 0.4894 GB, free: 12.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.1401, allocations: 4 kB / 0.4894 GB, free: 12.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.1401, allocations: 4 kB / 0.4894 GB, free: 12.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.624e-05/0.1401, allocations: 23.86 kB / 0.4895 GB, free: 12.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.69e-05/0.1402, allocations: 51.69 kB / 0.4895 GB, free: 12.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.1403, allocations: 87.66 kB / 0.4896 GB, free: 12.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1403, allocations: 0 / 0.4896 GB, free: 12.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1404, allocations: 0 / 0.4896 GB, free: 12.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1404, allocations: 0 / 0.4896 GB, free: 12.11 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.0004392/0.1408, allocations: 406.9 kB / 0.49 GB, free: 11.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1409, allocations: 8.031 kB / 0.49 GB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.1409, allocations: 12.84 kB / 0.49 GB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.1412, allocations: 231.9 kB / 0.4902 GB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.1412, allocations: 384 / 0.4902 GB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.1412, allocations: 8.375 kB / 0.4902 GB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.1413, allocations: 58 kB / 0.4903 GB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.1413, allocations: 0 / 0.4903 GB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1414, allocations: 4 kB / 0.4903 GB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1414, allocations: 0 / 0.4903 GB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.111e-05/0.1414, allocations: 31.92 kB / 0.4903 GB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.1419, allocations: 483.1 kB / 0.4908 GB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.918e-05/0.142, allocations: 173.1 kB / 0.4909 GB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.142, allocations: 80.14 kB / 0.491 GB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.142, allocations: 79.28 kB / 0.4911 GB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.1421, allocations: 113.8 kB / 0.4912 GB, free: 10.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1421, allocations: 0 / 0.4912 GB, free: 10.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.31e-05/0.1422, allocations: 45.45 kB / 0.4912 GB, free: 10.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.1422, allocations: 130.6 kB / 0.4914 GB, free: 10.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.1424, allocations: 183.7 kB / 0.4915 GB, free: 9.902 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.1424, allocations: 25.7 kB / 0.4916 GB, free: 9.871 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.1425, allocations: 116 kB / 0.4917 GB, free: 9.754 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-06/0.1425, allocations: 0 / 0.4917 GB, free: 9.754 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.1425, allocations: 13.72 kB / 0.4917 GB, free: 9.734 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1426, allocations: 326.9 kB / 0.492 GB, free: 9.406 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.1426, allocations: 4 kB / 0.492 GB, free: 9.402 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.641e-06/0.1427, allocations: 0 / 0.492 GB, free: 9.402 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.572e-05/0.1427, allocations: 12.84 kB / 0.492 GB, free: 9.387 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1427, allocations: 4.062 kB / 0.492 GB, free: 9.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.469e-05/0.1428, allocations: 49.55 kB / 0.4921 GB, free: 9.328 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1428, allocations: 4 kB / 0.4921 GB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1428, allocations: 0 / 0.4921 GB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1428, allocations: 0 / 0.4921 GB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.474e-05/0.1429, allocations: 3.938 kB / 0.4921 GB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1429, allocations: 4 kB / 0.4921 GB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.972e-05/0.1429, allocations: 3.938 kB / 0.4921 GB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.143, allocations: 0 / 0.4921 GB, free: 9.312 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 9.754e-05/0.1431, allocations: 193.2 kB / 0.4923 GB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.1431, allocations: 116.8 kB / 0.4924 GB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.552e-05/0.1432, allocations: 117.5 kB / 0.4925 GB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.436e-05/0.1433, allocations: 184.2 kB / 0.4927 GB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.417e-05/0.1433, allocations: 184.2 kB / 0.4928 GB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.323e-05/0.1434, allocations: 176.3 kB / 0.493 GB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.1436, allocations: 437.3 kB / 0.4934 GB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.58e-05/0.1437, allocations: 112.9 kB / 0.4935 GB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.92e-05/0.1437, allocations: 101 kB / 0.4936 GB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-05/0.1438, allocations: 184.2 kB / 0.4938 GB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/0.1438, allocations: 180.2 kB / 0.494 GB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.245e-05/0.1439, allocations: 184.2 kB / 0.4942 GB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.347e-05/0.1439, allocations: 180.2 kB / 0.4943 GB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.1441, allocations: 315.7 kB / 0.4946 GB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.739e-05/0.1441, allocations: 189.9 kB / 0.4948 GB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.33e-05/0.1442, allocations: 180.3 kB / 0.495 GB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.897e-05/0.1443, allocations: 120.9 kB / 0.4951 GB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.1444, allocations: 180.2 kB / 0.4953 GB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.994e-05/0.1444, allocations: 104.9 kB / 0.4954 GB, free: 5.723 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.678e-05/0.1445, allocations: 133.2 kB / 0.4955 GB, free: 5.594 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1445, allocations: 0 / 0.4955 GB, free: 5.594 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.1448, allocations: 12 kB / 0.4955 GB, free: 5.582 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 0.0001014/0.1449, allocations: 178.5 kB / 0.4957 GB, free: 5.395 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.831e-05/0.1449, allocations: 4 kB / 0.4957 GB, free: 5.391 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1449, allocations: 0 / 0.4957 GB, free: 5.391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.145, allocations: 7.938 kB / 0.4957 GB, free: 5.383 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005427/0.1455, allocations: 0.5031 MB / 0.4962 GB, free: 4.879 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.1459, allocations: 280 kB / 0.4965 GB, free: 4.578 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.1461, allocations: 0.6961 MB / 0.4971 GB, free: 3.855 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.531e-05/0.1461, allocations: 12.64 kB / 0.4971 GB, free: 3.844 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.1462, allocations: 15.44 kB / 0.4972 GB, free: 3.828 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1462, allocations: 0 / 0.4972 GB, free: 3.828 MB / 366.1 MB Notification: Performance of Templates: time 0.003569/0.1497, allocations: 1.536 MB / 0.4987 GB, free: 2.316 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 -s gbode -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1)