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-master/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-master/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-master/package.mo): time 0.123/0.123, allocations: 15.27 MB / 30.24 MB, free: 4.711 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.0007641/0.0007645, allocations: 103.7 kB / 35.24 MB, free: 3.328 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.001491/0.001491, allocations: 176.5 kB / 40.35 MB, free: 7.91 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.616/1.616, allocations: 223.3 MB / 268.6 MB, free: 8.438 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1434/0.1434, allocations: 23.39 MB / 347.3 MB, free: 260 kB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005116/0.0005116, allocations: 12 kB / 419.6 MB, free: 30.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1404, allocations: 60.48 MB / 480 MB, free: 2.379 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.002602/0.143, allocations: 2.098 MB / 482.1 MB, free: 276 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000681/0.1437, allocations: 467 kB / 482.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.28e-05/0.1438, allocations: 3.938 kB / 482.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.204e-05/0.1439, allocations: 19.84 kB / 482.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.1441, allocations: 67.41 kB / 482.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.456e-05/0.1441, allocations: 12 kB / 482.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.1443, allocations: 103.3 kB / 482.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1444, allocations: 21.09 kB / 482.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.515e-05/0.1444, allocations: 35.86 kB / 482.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.485e-05/0.1445, allocations: 27.81 kB / 482.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.1445, allocations: 4 kB / 482.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.376e-05/0.1445, allocations: 0 / 482.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.1445, allocations: 15.86 kB / 482.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.1446, allocations: 49.64 kB / 482.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.177e-05/0.1447, allocations: 64.11 kB / 483 MB, free: 15.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1447, allocations: 3.938 kB / 483 MB, free: 15.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1447, allocations: 4 kB / 483 MB, free: 15.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.1447, allocations: 0 / 483 MB, free: 15.38 MB / 350.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.0004049/0.1451, allocations: 394.8 kB / 483.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1451, allocations: 8.031 kB / 483.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.1452, allocations: 11.91 kB / 483.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.1454, allocations: 198.8 kB / 483.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.1454, allocations: 7.953 kB / 483.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.1454, allocations: 11.98 kB / 483.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.1456, allocations: 57.69 kB / 483.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1456, allocations: 0 / 483.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.1456, allocations: 0 / 483.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1456, allocations: 0 / 483.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.585e-05/0.1456, allocations: 23.94 kB / 483.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.1461, allocations: 495 kB / 484.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.958e-05/0.1462, allocations: 169.2 kB / 484.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.1462, allocations: 84.08 kB / 484.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.1463, allocations: 79.31 kB / 484.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.1463, allocations: 109.8 kB / 484.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.1463, allocations: 4 kB / 484.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.783e-05/0.1464, allocations: 41.5 kB / 484.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.1465, allocations: 126.7 kB / 484.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.1466, allocations: 183.7 kB / 485 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.1467, allocations: 29.7 kB / 485 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.1467, allocations: 108 kB / 485.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.1467, allocations: 0 / 485.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.1467, allocations: 4 kB / 485.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1468, allocations: 322.8 kB / 485.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-06/0.1469, allocations: 0 / 485.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-06/0.1469, allocations: 4 kB / 485.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.719e-05/0.1469, allocations: 4 kB / 485.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1469, allocations: 0 / 485.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.463e-05/0.147, allocations: 49.53 kB / 485.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.147, allocations: 4 kB / 485.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.147, allocations: 0 / 485.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.147, allocations: 4.094 kB / 485.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.273e-05/0.1471, allocations: 7.953 kB / 485.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1471, allocations: 0 / 485.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.592e-05/0.1471, allocations: 3.938 kB / 485.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.1472, allocations: 0 / 485.5 MB, free: 12.66 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.351e-05/0.1473, allocations: 189.1 kB / 485.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-05/0.1473, allocations: 120.8 kB / 485.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.795e-05/0.1474, allocations: 129.4 kB / 485.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.629e-05/0.1475, allocations: 176.3 kB / 486.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.665e-05/0.1475, allocations: 188.2 kB / 486.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.974e-05/0.1476, allocations: 184.3 kB / 486.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.1478, allocations: 433.2 kB / 486.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.852e-05/0.1479, allocations: 104.9 kB / 487 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.1479, allocations: 109 kB / 487.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.627e-05/0.148, allocations: 180.2 kB / 487.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.067e-05/0.1481, allocations: 176.3 kB / 487.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.596e-05/0.1481, allocations: 180.2 kB / 487.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.471e-05/0.1482, allocations: 188.1 kB / 487.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.1483, allocations: 323.6 kB / 488.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.83e-05/0.1484, allocations: 193.9 kB / 488.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.1485, allocations: 180.3 kB / 488.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1486, allocations: 104.9 kB / 488.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.1487, allocations: 176.3 kB / 488.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.1487, allocations: 112.9 kB / 488.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.354e-05/0.1488, allocations: 133.2 kB / 489 MB, free: 8.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1488, allocations: 0 / 489 MB, free: 8.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1491, allocations: 15.95 kB / 489 MB, free: 8.918 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.911e-05/0.1492, allocations: 170.5 kB / 489.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.857e-05/0.1492, allocations: 0 / 489.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1492, allocations: 0 / 489.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.1493, allocations: 8.062 kB / 489.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000587/0.1498, allocations: 0.5647 MB / 489.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003518/0.1502, allocations: 314.1 kB / 490.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.1505, allocations: 0.6965 MB / 490.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.34e-05/0.1505, allocations: 12.62 kB / 490.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/0.1505, allocations: 15.38 kB / 490.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1505, allocations: 0 / 490.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of Templates: time 0.003457/0.154, allocations: 1.413 MB / 492.2 MB, free: 5.699 MB / 350.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)