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: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1044/0.1044, allocations: 15.29 MB / 30.51 MB, free: 4.461 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.001089/0.001089, allocations: 108.3 kB / 35.49 MB, free: 3.434 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.001259/0.001258, allocations: 196.5 kB / 40.59 MB, free: 7.547 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.431/1.431, allocations: 222.9 MB / 268.4 MB, free: 7.137 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1484/0.1484, allocations: 23.36 MB / 346.1 MB, free: 444 kB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 107.8 kB / 417.8 MB, free: 30.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.122, allocations: 59.37 MB / 477.1 MB, free: 3.223 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.03281/0.1548, allocations: 20.88 MB / 498 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.156, allocations: 474.8 kB / 498.5 MB, free: 14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.1563, allocations: 7.938 kB / 498.5 MB, free: 14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.1564, allocations: 19.84 kB / 498.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.1566, allocations: 35.7 kB / 498.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.148e-05/0.1566, allocations: 7.984 kB / 498.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.1568, allocations: 107.3 kB / 498.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.157, allocations: 45.02 kB / 498.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.827e-05/0.157, allocations: 35.8 kB / 498.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.189e-05/0.1571, allocations: 43.73 kB / 498.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.1571, allocations: 4 kB / 498.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.646e-05/0.1571, allocations: 7.938 kB / 498.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.1572, allocations: 11.94 kB / 498.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.378e-05/0.1572, allocations: 47.73 kB / 498.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.1574, allocations: 79.73 kB / 498.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1574, allocations: 0 / 498.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1574, allocations: 0 / 498.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1574, allocations: 0 / 498.9 MB, free: 13.56 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.0004919/0.1579, allocations: 414.9 kB / 499.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.158, allocations: 11.97 kB / 499.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.158, allocations: 38.75 kB / 499.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.1581, allocations: 8.844 kB / 499.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.1583, allocations: 216 kB / 499.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1583, allocations: 4.375 kB / 499.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.1583, allocations: 4.375 kB / 499.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.1585, allocations: 61.75 kB / 499.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1585, allocations: 4 kB / 499.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1585, allocations: 7.938 kB / 499.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1585, allocations: 0 / 499.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.244e-05/0.1586, allocations: 23.98 kB / 499.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.1591, allocations: 487.1 kB / 0.4884 GB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.598e-05/0.1592, allocations: 169.1 kB / 0.4886 GB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.539e-05/0.1593, allocations: 84.14 kB / 0.4887 GB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1593, allocations: 75.31 kB / 0.4888 GB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.1594, allocations: 109.8 kB / 0.4889 GB, free: 11.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.1594, allocations: 0 / 0.4889 GB, free: 11.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.358e-05/0.1594, allocations: 45.48 kB / 0.4889 GB, free: 11.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.1595, allocations: 134.7 kB / 0.489 GB, free: 11.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.1597, allocations: 183.7 kB / 0.4892 GB, free: 11.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.1597, allocations: 25.7 kB / 0.4892 GB, free: 11.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.924e-05/0.1598, allocations: 112 kB / 0.4893 GB, free: 11.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.1598, allocations: 0 / 0.4893 GB, free: 11.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1598, allocations: 17.7 kB / 0.4894 GB, free: 11.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.16, allocations: 314.8 kB / 0.4897 GB, free: 10.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.451e-05/0.16, allocations: 15.98 kB / 0.4897 GB, free: 10.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-06/0.16, allocations: 0 / 0.4897 GB, free: 10.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.377e-05/0.16, allocations: 8.859 kB / 0.4897 GB, free: 10.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.16, allocations: 4.047 kB / 0.4897 GB, free: 10.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000116/0.1602, allocations: 49.55 kB / 0.4897 GB, free: 10.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1602, allocations: 4 kB / 0.4897 GB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1602, allocations: 0 / 0.4897 GB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1602, allocations: 3.938 kB / 0.4897 GB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.583e-05/0.1603, allocations: 4.094 kB / 0.4897 GB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1603, allocations: 7.938 kB / 0.4898 GB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.001e-05/0.1603, allocations: 3.906 kB / 0.4898 GB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.1603, allocations: 0 / 0.4898 GB, free: 10.72 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.564e-05/0.1604, allocations: 193.1 kB / 0.4899 GB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.19e-05/0.1605, allocations: 116.8 kB / 0.4901 GB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.307e-05/0.1606, allocations: 113.5 kB / 0.4902 GB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.239e-05/0.1606, allocations: 188.2 kB / 0.4903 GB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-05/0.1607, allocations: 180.2 kB / 0.4905 GB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.037e-05/0.1608, allocations: 176.3 kB / 0.4907 GB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.161, allocations: 437.1 kB / 0.4911 GB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.653e-05/0.1611, allocations: 105 kB / 0.4912 GB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.1611, allocations: 101 kB / 0.4913 GB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.97e-05/0.1612, allocations: 196.2 kB / 0.4915 GB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.237e-05/0.1613, allocations: 176.3 kB / 0.4916 GB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.356e-05/0.1613, allocations: 184.1 kB / 0.4918 GB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.812e-05/0.1614, allocations: 176.3 kB / 0.492 GB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.1615, allocations: 323.7 kB / 0.4923 GB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.347e-05/0.1616, allocations: 193.9 kB / 0.4925 GB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.566e-05/0.1617, allocations: 180.2 kB / 0.4927 GB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.277e-05/0.1618, allocations: 112.9 kB / 0.4928 GB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.1619, allocations: 180.3 kB / 0.4929 GB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.1619, allocations: 104.9 kB / 0.493 GB, free: 7.133 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.836e-05/0.162, allocations: 137.2 kB / 0.4932 GB, free: 7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.162, allocations: 0 / 0.4932 GB, free: 7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.1622, allocations: 12 kB / 0.4932 GB, free: 6.988 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.000379/0.1626, allocations: 0.8125 MB / 0.494 GB, free: 6.145 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.137e-05/0.1627, allocations: 11.94 kB / 0.494 GB, free: 6.133 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1627, allocations: 0 / 0.494 GB, free: 6.133 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.1627, allocations: 0 / 0.494 GB, free: 6.133 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.1633, allocations: 0.5058 MB / 0.4945 GB, free: 5.625 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.1648, allocations: 1.651 MB / 0.4961 GB, free: 3.891 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.1652, allocations: 0.7002 MB / 0.4968 GB, free: 3.164 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.1653, allocations: 16.64 kB / 0.4968 GB, free: 3.148 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/0.1653, allocations: 27.42 kB / 0.4968 GB, free: 3.121 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1653, allocations: 0 / 0.4968 GB, free: 3.121 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.1801, allocations: 2.913 MB / 0.4997 GB, free: 324 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.1804, allocations: 214.1 kB / 0.4999 GB, free: 60 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/1.934, allocations: 0 / 0.4999 GB, free: 60 kB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1)