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.08069/0.08069, allocations: 15.28 MB / 31.45 MB, free: 4.086 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.001068/0.001069, allocations: 101.3 kB / 36.44 MB, free: 3.25 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.001236/0.001236, allocations: 193.1 kB / 41.55 MB, free: 7.18 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.43/1.43, allocations: 222.9 MB / 269.4 MB, free: 6.879 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1342/0.1342, allocations: 23.36 MB / 347.1 MB, free: 0.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 120.3 kB / 418.9 MB, free: 30.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08527/0.08739, allocations: 59.37 MB / 478.3 MB, free: 2.996 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.02783/0.1152, allocations: 21.65 MB / 499.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007992/0.1161, allocations: 434.9 kB / 0.4886 GB, free: 13.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.289e-05/0.1162, allocations: 4 kB / 0.4886 GB, free: 13.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.1163, allocations: 19.78 kB / 0.4886 GB, free: 13.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.984e-05/0.1164, allocations: 35.64 kB / 0.4887 GB, free: 12.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.737e-05/0.1164, allocations: 15.98 kB / 0.4887 GB, free: 12.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.1166, allocations: 107.3 kB / 0.4888 GB, free: 12.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.1167, allocations: 41.02 kB / 0.4888 GB, free: 12.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.4e-05/0.1167, allocations: 31.88 kB / 0.4888 GB, free: 12.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.793e-05/0.1168, allocations: 39.73 kB / 0.4889 GB, free: 12.76 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.1168, allocations: 4 kB / 0.4889 GB, free: 12.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.683e-05/0.1169, allocations: 4 kB / 0.4889 GB, free: 12.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.1169, allocations: 15.92 kB / 0.4889 GB, free: 12.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.378e-05/0.1169, allocations: 51.62 kB / 0.489 GB, free: 12.69 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.117, allocations: 83.72 kB / 0.489 GB, free: 12.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1171, allocations: 0 / 0.489 GB, free: 12.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1171, allocations: 0 / 0.489 GB, free: 12.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1171, allocations: 4 kB / 0.489 GB, free: 12.6 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.0004064/0.1175, allocations: 409.2 kB / 0.4894 GB, free: 12.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.1175, allocations: 12.03 kB / 0.4894 GB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.1176, allocations: 8.844 kB / 0.4895 GB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.1178, allocations: 216 kB / 0.4897 GB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.1178, allocations: 4.375 kB / 0.4897 GB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.1178, allocations: 4.375 kB / 0.4897 GB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.1179, allocations: 61.94 kB / 0.4897 GB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.118, allocations: 0 / 0.4897 GB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.118, allocations: 8 kB / 0.4897 GB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.118, allocations: 3.938 kB / 0.4897 GB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.126e-05/0.118, allocations: 27.92 kB / 0.4898 GB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.1185, allocations: 483.1 kB / 0.4902 GB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1186, allocations: 177.1 kB / 0.4904 GB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.076e-05/0.1186, allocations: 80.14 kB / 0.4905 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.1187, allocations: 75.28 kB / 0.4905 GB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.1187, allocations: 109.8 kB / 0.4906 GB, free: 10.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.1187, allocations: 0 / 0.4906 GB, free: 10.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 6.98e-05/0.1188, allocations: 49.44 kB / 0.4907 GB, free: 10.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.1188, allocations: 138.6 kB / 0.4908 GB, free: 10.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.119, allocations: 183.7 kB / 0.491 GB, free: 10.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.119, allocations: 25.7 kB / 0.491 GB, free: 10.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.1191, allocations: 108 kB / 0.4911 GB, free: 10.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.1191, allocations: 0 / 0.4911 GB, free: 10.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.1191, allocations: 13.72 kB / 0.4911 GB, free: 10.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.069e-05/0.1192, allocations: 318.8 kB / 0.4914 GB, free: 9.914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.1192, allocations: 12 kB / 0.4915 GB, free: 9.902 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.1193, allocations: 0 / 0.4915 GB, free: 9.902 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.21e-05/0.1193, allocations: 8.859 kB / 0.4915 GB, free: 9.891 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.1193, allocations: 0 / 0.4915 GB, free: 9.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000132/0.1194, allocations: 49.55 kB / 0.4915 GB, free: 9.836 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.1194, allocations: 4 kB / 0.4915 GB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1195, allocations: 4 kB / 0.4915 GB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.1195, allocations: 0 / 0.4915 GB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.924e-05/0.1195, allocations: 3.938 kB / 0.4915 GB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1195, allocations: 8.094 kB / 0.4915 GB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.905e-05/0.1196, allocations: 3.984 kB / 0.4915 GB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.1196, allocations: 0 / 0.4915 GB, free: 9.812 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.569e-05/0.1197, allocations: 193.1 kB / 0.4917 GB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.1197, allocations: 116.7 kB / 0.4918 GB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.1198, allocations: 121.5 kB / 0.4919 GB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-05/0.1198, allocations: 184.2 kB / 0.4921 GB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.963e-05/0.1199, allocations: 180.3 kB / 0.4923 GB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.752e-05/0.12, allocations: 180.2 kB / 0.4925 GB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.1202, allocations: 437.1 kB / 0.4929 GB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.701e-05/0.1202, allocations: 101 kB / 0.493 GB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.984e-05/0.1203, allocations: 105 kB / 0.4931 GB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.25e-05/0.1203, allocations: 192.2 kB / 0.4933 GB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/0.1204, allocations: 176.3 kB / 0.4934 GB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.277e-05/0.1205, allocations: 184.1 kB / 0.4936 GB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.64e-05/0.1205, allocations: 176.3 kB / 0.4938 GB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.1206, allocations: 323.7 kB / 0.4941 GB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.1207, allocations: 186 kB / 0.4943 GB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/0.1208, allocations: 184.2 kB / 0.4944 GB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-05/0.1209, allocations: 108.9 kB / 0.4945 GB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.1209, allocations: 180.3 kB / 0.4947 GB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.121, allocations: 104.9 kB / 0.4948 GB, free: 6.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.583e-05/0.1211, allocations: 141.2 kB / 0.4949 GB, free: 6.094 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1211, allocations: 0 / 0.4949 GB, free: 6.094 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1213, allocations: 15.91 kB / 0.495 GB, free: 6.078 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.363e-05/0.1214, allocations: 170.5 kB / 0.4951 GB, free: 5.898 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.981e-05/0.1215, allocations: 0 / 0.4951 GB, free: 5.898 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.1215, allocations: 0 / 0.4951 GB, free: 5.898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.785e-06/0.1215, allocations: 4 kB / 0.4951 GB, free: 5.895 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.1221, allocations: 0.5074 MB / 0.4956 GB, free: 5.383 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.1225, allocations: 309.8 kB / 0.4959 GB, free: 5.047 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.1227, allocations: 0.7 MB / 0.4966 GB, free: 4.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.1227, allocations: 15.44 kB / 0.4966 GB, free: 4.305 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1227, allocations: 4 kB / 0.4966 GB, free: 4.301 MB / 366.1 MB Notification: Performance of Templates: time 0.002741/0.1255, allocations: 1.433 MB / 0.498 GB, free: 2.879 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)