Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.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.SkinHeatFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow",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.1742/0.1742, allocations: 15.28 MB / 30.51 MB, free: 4.352 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.001385/0.001385, allocations: 113.7 kB / 35.5 MB, free: 3.395 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.001527/0.001527, allocations: 196.5 kB / 40.59 MB, free: 7.465 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.545/1.545, allocations: 222.9 MB / 268.4 MB, free: 7.152 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1701/0.1701, allocations: 23.35 MB / 346.1 MB, free: 416 kB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 111.8 kB / 417.8 MB, free: 30.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1465, allocations: 59.36 MB / 477.1 MB, free: 3.191 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.SkinHeatFlow): time 0.0375/0.184, allocations: 20.87 MB / 498 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1852, allocations: 478.7 kB / 498.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.1854, allocations: 7.938 kB / 498.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.1855, allocations: 7.922 kB / 498.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.1856, allocations: 43.62 kB / 498.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.974e-05/0.1857, allocations: 12 kB / 498.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.1859, allocations: 103.4 kB / 498.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.186, allocations: 41.02 kB / 498.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.804e-05/0.1861, allocations: 39.73 kB / 498.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.621e-05/0.1862, allocations: 39.8 kB / 498.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.1862, allocations: 4 kB / 498.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.1862, allocations: 4 kB / 498.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.1862, allocations: 7.938 kB / 498.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.23e-05/0.1863, allocations: 43.75 kB / 498.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.1865, allocations: 91.66 kB / 498.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1865, allocations: 4 kB / 498.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1865, allocations: 0 / 498.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.1865, allocations: 0 / 498.9 MB, free: 13.53 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.0005651/0.1871, allocations: 414.8 kB / 499.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.1871, allocations: 8.031 kB / 499.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.603e-05/0.1872, allocations: 42.73 kB / 499.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.1872, allocations: 8.844 kB / 499.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.1875, allocations: 208 kB / 499.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.1875, allocations: 16.31 kB / 499.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.1876, allocations: 4.375 kB / 499.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.1877, allocations: 61.75 kB / 499.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1877, allocations: 0 / 499.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1877, allocations: 4 kB / 499.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1877, allocations: 0 / 499.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.704e-05/0.1878, allocations: 20 kB / 499.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006743/0.1885, allocations: 487.1 kB / 0.4884 GB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.1886, allocations: 173.1 kB / 0.4886 GB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.91e-05/0.1887, allocations: 88.08 kB / 0.4887 GB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.1887, allocations: 75.31 kB / 0.4887 GB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.601e-05/0.1888, allocations: 113.8 kB / 0.4889 GB, free: 11.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.1888, allocations: 0 / 0.4889 GB, free: 11.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001071/0.1889, allocations: 41.55 kB / 0.4889 GB, free: 11.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.1891, allocations: 126.7 kB / 0.489 GB, free: 11.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.1893, allocations: 183.7 kB / 0.4892 GB, free: 11.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1893, allocations: 25.7 kB / 0.4892 GB, free: 11.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.1895, allocations: 116 kB / 0.4893 GB, free: 11.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-06/0.1895, allocations: 0 / 0.4893 GB, free: 11.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.1895, allocations: 17.72 kB / 0.4893 GB, free: 11.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1897, allocations: 318.8 kB / 0.4896 GB, free: 10.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.875e-05/0.1897, allocations: 7.938 kB / 0.4897 GB, free: 10.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-06/0.1897, allocations: 0 / 0.4897 GB, free: 10.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.289e-05/0.1898, allocations: 12.86 kB / 0.4897 GB, free: 10.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1898, allocations: 0 / 0.4897 GB, free: 10.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001533/0.1899, allocations: 45.7 kB / 0.4897 GB, free: 10.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.19, allocations: 14.53 kB / 0.4897 GB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.19, allocations: 0 / 0.4897 GB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.19, allocations: 3.938 kB / 0.4897 GB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.287e-05/0.1901, allocations: 0 / 0.4897 GB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.1901, allocations: 4 kB / 0.4897 GB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.1901, allocations: 7.906 kB / 0.4897 GB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1902, allocations: 0 / 0.4897 GB, free: 10.7 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 0.0001498/0.1903, allocations: 197 kB / 0.4899 GB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/0.1904, allocations: 116.9 kB / 0.49 GB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.272e-05/0.1905, allocations: 113.5 kB / 0.4901 GB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001024/0.1906, allocations: 192.1 kB / 0.4903 GB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001176/0.1907, allocations: 180.2 kB / 0.4905 GB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001154/0.1908, allocations: 184.2 kB / 0.4907 GB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.1912, allocations: 433.2 kB / 0.4911 GB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.306e-05/0.1913, allocations: 105 kB / 0.4912 GB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.032e-05/0.1913, allocations: 104.9 kB / 0.4913 GB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000112/0.1915, allocations: 176.3 kB / 0.4915 GB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.1916, allocations: 188.2 kB / 0.4916 GB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001243/0.1917, allocations: 184.2 kB / 0.4918 GB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001287/0.1918, allocations: 176.3 kB / 0.492 GB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.1921, allocations: 315.7 kB / 0.4923 GB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.1922, allocations: 201.8 kB / 0.4925 GB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.1924, allocations: 176.3 kB / 0.4926 GB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.1925, allocations: 108.9 kB / 0.4928 GB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.1926, allocations: 184.2 kB / 0.4929 GB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/0.1927, allocations: 105 kB / 0.493 GB, free: 7.109 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.1929, allocations: 137.2 kB / 0.4932 GB, free: 6.977 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1929, allocations: 0 / 0.4932 GB, free: 6.977 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.1932, allocations: 12 kB / 0.4932 GB, free: 6.965 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.0006103/0.1938, allocations: 0.8203 MB / 0.494 GB, free: 6.113 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.79e-05/0.1939, allocations: 4 kB / 0.494 GB, free: 6.109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1939, allocations: 0 / 0.494 GB, free: 6.109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.1939, allocations: 0 / 0.494 GB, free: 6.109 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007648/0.1947, allocations: 0.5133 MB / 0.4945 GB, free: 5.598 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.1965, allocations: 1.659 MB / 0.4961 GB, free: 3.855 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.1968, allocations: 0.6963 MB / 0.4968 GB, free: 3.133 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.169e-05/0.1969, allocations: 8.656 kB / 0.4968 GB, free: 3.125 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.438e-05/0.197, allocations: 27.42 kB / 0.4968 GB, free: 3.098 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.197, allocations: 4 kB / 0.4968 GB, free: 3.094 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.2209, allocations: 2.904 MB / 0.4996 GB, free: 292 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/0.2212, allocations: 191.7 kB / 0.4998 GB, free: 32 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/2.162, allocations: 0 / 0.4998 GB, free: 32 kB / 366.1 MB (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1)