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: translateModel(Physiolibrary.Thermal.Examples.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.08407/0.08407, allocations: 15.28 MB / 30.78 MB, free: 4.215 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.001026/0.001026, allocations: 107.7 kB / 35.78 MB, free: 3.234 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.001204/0.001204, allocations: 197 kB / 40.88 MB, free: 7.223 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.394/1.394, allocations: 222.9 MB / 268.7 MB, free: 6.828 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1294/0.1294, allocations: 23.36 MB / 346.4 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 112.3 kB / 418.2 MB, free: 30.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09519/0.09708, allocations: 59.37 MB / 477.6 MB, free: 3.02 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.0284/0.1255, allocations: 21.65 MB / 499.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007974/0.1263, allocations: 438.9 kB / 499.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.534e-05/0.1264, allocations: 0 / 499.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.1265, allocations: 27.78 kB / 499.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.686e-05/0.1266, allocations: 39.64 kB / 499.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.753e-05/0.1267, allocations: 11.98 kB / 499.7 MB, free: 13 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.1268, allocations: 115.3 kB / 499.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.692e-05/0.1269, allocations: 36.97 kB / 499.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.367e-05/0.127, allocations: 31.88 kB / 499.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.1271, allocations: 35.8 kB / 499.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1271, allocations: 4 kB / 499.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.649e-05/0.1271, allocations: 4 kB / 499.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.1271, allocations: 23.86 kB / 500 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.1272, allocations: 43.75 kB / 0.4883 GB, free: 12.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.1273, allocations: 91.66 kB / 0.4884 GB, free: 12.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1273, allocations: 0 / 0.4884 GB, free: 12.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1273, allocations: 0 / 0.4884 GB, free: 12.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1273, allocations: 0 / 0.4884 GB, free: 12.62 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.0004125/0.1277, allocations: 409.5 kB / 0.4888 GB, free: 12.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.1278, allocations: 12.03 kB / 0.4888 GB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.1278, allocations: 8.844 kB / 0.4888 GB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.128, allocations: 215.9 kB / 0.489 GB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.128, allocations: 8.375 kB / 0.489 GB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.128, allocations: 4.375 kB / 0.489 GB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.1282, allocations: 61.94 kB / 0.4891 GB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1282, allocations: 0 / 0.4891 GB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1282, allocations: 0 / 0.4891 GB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.1282, allocations: 4 kB / 0.4891 GB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.737e-05/0.1283, allocations: 27.92 kB / 0.4891 GB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.1287, allocations: 483.1 kB / 0.4896 GB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.278e-05/0.1288, allocations: 185.1 kB / 0.4897 GB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.1288, allocations: 80.14 kB / 0.4898 GB, free: 11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.1288, allocations: 75.28 kB / 0.4899 GB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.1289, allocations: 109.8 kB / 0.49 GB, free: 10.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.1289, allocations: 0 / 0.49 GB, free: 10.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 8.124e-05/0.129, allocations: 53.42 kB / 0.49 GB, free: 10.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.129, allocations: 130.6 kB / 0.4902 GB, free: 10.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.1292, allocations: 179.7 kB / 0.4903 GB, free: 10.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1292, allocations: 29.7 kB / 0.4904 GB, free: 10.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.1293, allocations: 116 kB / 0.4905 GB, free: 10.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.1293, allocations: 0 / 0.4905 GB, free: 10.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.1293, allocations: 13.72 kB / 0.4905 GB, free: 10.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.1294, allocations: 318.8 kB / 0.4908 GB, free: 9.922 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/0.1294, allocations: 4 kB / 0.4908 GB, free: 9.918 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-06/0.1295, allocations: 0 / 0.4908 GB, free: 9.918 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.755e-05/0.1295, allocations: 12.86 kB / 0.4908 GB, free: 9.902 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1295, allocations: 0 / 0.4908 GB, free: 9.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.667e-05/0.1296, allocations: 45.61 kB / 0.4909 GB, free: 9.852 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1296, allocations: 8 kB / 0.4909 GB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1296, allocations: 3.938 kB / 0.4909 GB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1296, allocations: 0 / 0.4909 GB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.088e-05/0.1297, allocations: 3.938 kB / 0.4909 GB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.1297, allocations: 0 / 0.4909 GB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.8e-05/0.1297, allocations: 7.984 kB / 0.4909 GB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-06/0.1297, allocations: 0 / 0.4909 GB, free: 9.828 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 8.399e-05/0.1298, allocations: 193.2 kB / 0.4911 GB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/0.1299, allocations: 116.8 kB / 0.4912 GB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.652e-05/0.1299, allocations: 117.5 kB / 0.4913 GB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-05/0.13, allocations: 184.2 kB / 0.4915 GB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.077e-05/0.13, allocations: 184.2 kB / 0.4916 GB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-05/0.1301, allocations: 176.3 kB / 0.4918 GB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.1303, allocations: 437.2 kB / 0.4922 GB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.871e-05/0.1304, allocations: 105 kB / 0.4923 GB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.1304, allocations: 108.9 kB / 0.4924 GB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.953e-05/0.1304, allocations: 180.2 kB / 0.4926 GB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.77e-05/0.1305, allocations: 180.3 kB / 0.4928 GB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-05/0.1306, allocations: 188.2 kB / 0.4929 GB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-05/0.1306, allocations: 184.2 kB / 0.4931 GB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.1307, allocations: 315.7 kB / 0.4934 GB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.1308, allocations: 190 kB / 0.4936 GB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.835e-05/0.1309, allocations: 180.2 kB / 0.4938 GB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.85e-05/0.131, allocations: 112.9 kB / 0.4939 GB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.131, allocations: 180.3 kB / 0.4941 GB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.1311, allocations: 104.9 kB / 0.4942 GB, free: 6.242 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.299e-05/0.1312, allocations: 141.2 kB / 0.4943 GB, free: 6.105 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1312, allocations: 0 / 0.4943 GB, free: 6.105 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002131/0.1314, allocations: 15.91 kB / 0.4943 GB, free: 6.09 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 8.922e-05/0.1315, allocations: 170.5 kB / 0.4945 GB, free: 5.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.416e-05/0.1315, allocations: 4 kB / 0.4945 GB, free: 5.906 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1316, allocations: 0 / 0.4945 GB, free: 5.906 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.1316, allocations: 0 / 0.4945 GB, free: 5.906 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.1321, allocations: 0.5033 MB / 0.495 GB, free: 5.402 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.1324, allocations: 284 kB / 0.4952 GB, free: 5.098 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.1327, allocations: 0.7 MB / 0.4959 GB, free: 4.371 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.653e-05/0.1327, allocations: 4.656 kB / 0.4959 GB, free: 4.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.1327, allocations: 11.44 kB / 0.4959 GB, free: 4.355 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1327, allocations: 0 / 0.4959 GB, free: 4.355 MB / 366.1 MB Notification: Performance of Templates: time 0.003468/0.1362, allocations: 1.548 MB / 0.4974 GB, free: 2.832 MB / 366.1 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.makefile (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 & ./Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1)