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.09294/0.09294, allocations: 15.28 MB / 30.55 MB, free: 4.488 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.0007628/0.000763, allocations: 104.6 kB / 35.56 MB, free: 3.422 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.0009182/0.0009184, allocations: 181.1 kB / 40.68 MB, free: 7.633 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.376/1.376, allocations: 223.2 MB / 268.9 MB, free: 8.293 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1123/0.1123, allocations: 23.38 MB / 347.7 MB, free: 124 kB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004651, allocations: 20 kB / 420.3 MB, free: 30.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09813/0.09862, allocations: 60.47 MB / 480.8 MB, free: 1.863 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.02353/0.1222, allocations: 20.53 MB / 0.4896 GB, free: 13.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008738/0.1231, allocations: 470.8 kB / 0.49 GB, free: 13.01 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.1233, allocations: 7.938 kB / 0.49 GB, free: 13 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.1234, allocations: 15.86 kB / 0.49 GB, free: 12.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.1235, allocations: 39.69 kB / 0.4901 GB, free: 12.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.955e-05/0.1236, allocations: 4 kB / 0.4901 GB, free: 12.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.1237, allocations: 115.3 kB / 0.4902 GB, free: 12.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1238, allocations: 29.03 kB / 0.4902 GB, free: 12.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.705e-05/0.1239, allocations: 27.88 kB / 0.4902 GB, free: 12.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.999e-05/0.124, allocations: 43.73 kB / 0.4903 GB, free: 12.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.124, allocations: 0 / 0.4903 GB, free: 12.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.579e-05/0.124, allocations: 4 kB / 0.4903 GB, free: 12.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.124, allocations: 11.92 kB / 0.4903 GB, free: 12.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.975e-05/0.1241, allocations: 69.45 kB / 0.4904 GB, free: 12.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.1242, allocations: 83.64 kB / 0.4905 GB, free: 12.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1242, allocations: 0 / 0.4905 GB, free: 12.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1242, allocations: 0 / 0.4905 GB, free: 12.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.1242, allocations: 0 / 0.4905 GB, free: 12.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.0004143/0.1247, allocations: 399 kB / 0.4908 GB, free: 12.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1247, allocations: 8.594 kB / 0.4908 GB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.1248, allocations: 38.75 kB / 0.4909 GB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.1248, allocations: 8.844 kB / 0.4909 GB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.125, allocations: 219.9 kB / 0.4911 GB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1251, allocations: 4.375 kB / 0.4911 GB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.1251, allocations: 4.375 kB / 0.4911 GB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.1252, allocations: 61.75 kB / 0.4912 GB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1252, allocations: 0 / 0.4912 GB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.1252, allocations: 4 kB / 0.4912 GB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1252, allocations: 4 kB / 0.4912 GB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.198e-05/0.1253, allocations: 23.98 kB / 0.4912 GB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.1258, allocations: 491.1 kB / 0.4917 GB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.753e-05/0.1259, allocations: 173.1 kB / 0.4918 GB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.1259, allocations: 80.14 kB / 0.4919 GB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.1259, allocations: 75.28 kB / 0.492 GB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.126, allocations: 109.9 kB / 0.4921 GB, free: 10.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.126, allocations: 0 / 0.4921 GB, free: 10.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.289e-05/0.1261, allocations: 53.47 kB / 0.4921 GB, free: 10.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.1261, allocations: 134.7 kB / 0.4923 GB, free: 10.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.1263, allocations: 187.1 kB / 0.4924 GB, free: 10.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.1263, allocations: 25.7 kB / 0.4925 GB, free: 10.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.1264, allocations: 108 kB / 0.4926 GB, free: 10.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-06/0.1264, allocations: 0 / 0.4926 GB, free: 10.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.1264, allocations: 13.72 kB / 0.4926 GB, free: 10.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1266, allocations: 318.8 kB / 0.4929 GB, free: 9.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.1266, allocations: 4 kB / 0.4929 GB, free: 9.836 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.087e-05/0.1266, allocations: 8 kB / 0.4929 GB, free: 9.828 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.732e-05/0.1266, allocations: 8.859 kB / 0.4929 GB, free: 9.816 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1266, allocations: 0 / 0.4929 GB, free: 9.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001056/0.1267, allocations: 45.55 kB / 0.4929 GB, free: 9.766 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1268, allocations: 8 kB / 0.493 GB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1268, allocations: 0 / 0.493 GB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1268, allocations: 3.938 kB / 0.493 GB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.769e-05/0.1268, allocations: 0 / 0.493 GB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.1269, allocations: 112 / 0.493 GB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.1269, allocations: 15.94 kB / 0.493 GB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.1269, allocations: 0 / 0.493 GB, free: 9.738 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.641e-05/0.127, allocations: 193.1 kB / 0.4932 GB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.809e-05/0.1271, allocations: 112.9 kB / 0.4933 GB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.485e-05/0.1271, allocations: 117.5 kB / 0.4934 GB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.108e-05/0.1272, allocations: 188.2 kB / 0.4936 GB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.618e-05/0.1273, allocations: 180.3 kB / 0.4937 GB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.596e-05/0.1274, allocations: 180.2 kB / 0.4939 GB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.1276, allocations: 433.2 kB / 0.4943 GB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.58e-05/0.1277, allocations: 104.9 kB / 0.4944 GB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.345e-05/0.1277, allocations: 108.9 kB / 0.4945 GB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.521e-05/0.1278, allocations: 180.2 kB / 0.4947 GB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.403e-05/0.1278, allocations: 188.3 kB / 0.4949 GB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.293e-05/0.1279, allocations: 180.2 kB / 0.495 GB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.446e-05/0.128, allocations: 180.2 kB / 0.4952 GB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.1281, allocations: 319.7 kB / 0.4955 GB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.359e-05/0.1282, allocations: 193.9 kB / 0.4957 GB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.4e-05/0.1283, allocations: 176.3 kB / 0.4959 GB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1284, allocations: 112.8 kB / 0.496 GB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/0.1285, allocations: 180.3 kB / 0.4961 GB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.014e-05/0.1285, allocations: 108.9 kB / 0.4963 GB, free: 6.152 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.1286, allocations: 137.2 kB / 0.4964 GB, free: 6.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1287, allocations: 4 kB / 0.4964 GB, free: 6.016 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.1289, allocations: 12 kB / 0.4964 GB, free: 6.004 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.0003661/0.1293, allocations: 0.8086 MB / 0.4972 GB, free: 5.164 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.423e-05/0.1293, allocations: 0 / 0.4972 GB, free: 5.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1293, allocations: 4 kB / 0.4972 GB, free: 5.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.616e-06/0.1294, allocations: 8 kB / 0.4972 GB, free: 5.152 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/0.13, allocations: 0.5684 MB / 0.4978 GB, free: 4.582 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.1314, allocations: 1.675 MB / 0.4994 GB, free: 2.824 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.1316, allocations: 0.7002 MB / 0.5001 GB, free: 2.098 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.017e-05/0.1317, allocations: 16.62 kB / 0.5001 GB, free: 2.082 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/0.1318, allocations: 23.44 kB / 0.5001 GB, free: 2.059 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1318, allocations: 0 / 0.5001 GB, free: 2.059 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01238/0.1441, allocations: 2.763 MB / 0.5028 GB, free: 15.43 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.1443, allocations: 206.2 kB / 0.503 GB, free: 15.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/1.823, allocations: 4 kB / 0.503 GB, free: 15.18 MB / 382.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)