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: translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.08533/0.08533, allocations: 15.28 MB / 31.53 MB, free: 3.992 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.001007/0.001007, allocations: 114.1 kB / 36.54 MB, free: 3.27 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.001152/0.001152, allocations: 193.1 kB / 41.64 MB, free: 7.137 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.346/1.346, allocations: 222.9 MB / 269.5 MB, free: 6.898 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1278/0.1278, allocations: 23.35 MB / 347.2 MB, free: 0.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 115.8 kB / 419.7 MB, free: 29.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08857/0.09048, allocations: 59.37 MB / 479 MB, free: 2.258 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.02677/0.1173, allocations: 21.45 MB / 0.4887 GB, free: 12.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008158/0.1181, allocations: 442.9 kB / 0.4892 GB, free: 12.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.375e-05/0.1182, allocations: 3.938 kB / 0.4892 GB, free: 12.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.451e-05/0.1183, allocations: 23.84 kB / 0.4892 GB, free: 12.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.845e-05/0.1184, allocations: 39.64 kB / 0.4892 GB, free: 12.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.932e-05/0.1185, allocations: 15.98 kB / 0.4892 GB, free: 12.44 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.1186, allocations: 107.3 kB / 0.4893 GB, free: 12.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.1187, allocations: 25.11 kB / 0.4894 GB, free: 12.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.507e-05/0.1188, allocations: 35.81 kB / 0.4894 GB, free: 12.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.766e-05/0.1188, allocations: 35.8 kB / 0.4894 GB, free: 12.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1189, allocations: 4 kB / 0.4894 GB, free: 12.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.1189, allocations: 4 kB / 0.4894 GB, free: 12.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.1189, allocations: 15.92 kB / 0.4895 GB, free: 12.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.119, allocations: 51.73 kB / 0.4895 GB, free: 12.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.1191, allocations: 91.61 kB / 0.4896 GB, free: 12.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1191, allocations: 0 / 0.4896 GB, free: 12.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1191, allocations: 0 / 0.4896 GB, free: 12.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1191, allocations: 3.938 kB / 0.4896 GB, free: 12.07 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.0004178/0.1195, allocations: 410.9 kB / 0.49 GB, free: 11.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.1196, allocations: 12.03 kB / 0.49 GB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.1196, allocations: 8.844 kB / 0.49 GB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.1198, allocations: 220 kB / 0.4902 GB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1199, allocations: 8.375 kB / 0.4902 GB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.1199, allocations: 384 / 0.4902 GB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.12, allocations: 62 kB / 0.4903 GB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.12, allocations: 3.938 kB / 0.4903 GB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.12, allocations: 0 / 0.4903 GB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.12, allocations: 7.984 kB / 0.4903 GB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.886e-05/0.1201, allocations: 20 kB / 0.4903 GB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.1205, allocations: 491 kB / 0.4908 GB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.827e-05/0.1206, allocations: 173.1 kB / 0.491 GB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.1206, allocations: 80.14 kB / 0.491 GB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.1207, allocations: 79.28 kB / 0.4911 GB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.1207, allocations: 109.8 kB / 0.4912 GB, free: 10.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 2.254e-06/0.1207, allocations: 0 / 0.4912 GB, free: 10.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.31e-05/0.1208, allocations: 41.45 kB / 0.4912 GB, free: 10.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.1209, allocations: 130.6 kB / 0.4914 GB, free: 10.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.121, allocations: 183.7 kB / 0.4915 GB, free: 9.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.121, allocations: 25.7 kB / 0.4916 GB, free: 9.844 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.185e-05/0.1211, allocations: 120 kB / 0.4917 GB, free: 9.723 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.1211, allocations: 0 / 0.4917 GB, free: 9.723 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.1212, allocations: 9.719 kB / 0.4917 GB, free: 9.707 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1213, allocations: 326.9 kB / 0.492 GB, free: 9.379 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.1213, allocations: 0 / 0.492 GB, free: 9.379 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-06/0.1213, allocations: 4 kB / 0.492 GB, free: 9.375 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.43e-05/0.1213, allocations: 12.8 kB / 0.492 GB, free: 9.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1213, allocations: 0 / 0.492 GB, free: 9.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.073e-05/0.1214, allocations: 49.66 kB / 0.4921 GB, free: 9.305 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1215, allocations: 4 kB / 0.4921 GB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1215, allocations: 0 / 0.4921 GB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1215, allocations: 4 kB / 0.4921 GB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.078e-05/0.1215, allocations: 3.938 kB / 0.4921 GB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.1215, allocations: 0 / 0.4921 GB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.1216, allocations: 7.938 kB / 0.4921 GB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.1216, allocations: 4 kB / 0.4921 GB, free: 9.281 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.575e-05/0.1217, allocations: 189.2 kB / 0.4923 GB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.747e-05/0.1218, allocations: 120.7 kB / 0.4924 GB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.409e-05/0.1218, allocations: 113.5 kB / 0.4925 GB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-05/0.1219, allocations: 184.2 kB / 0.4927 GB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.545e-05/0.1219, allocations: 188.1 kB / 0.4929 GB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.494e-05/0.122, allocations: 184.2 kB / 0.493 GB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.1222, allocations: 437.1 kB / 0.4934 GB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.774e-05/0.1223, allocations: 101 kB / 0.4935 GB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.1223, allocations: 105.1 kB / 0.4936 GB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.771e-05/0.1224, allocations: 184.1 kB / 0.4938 GB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.775e-05/0.1224, allocations: 180.2 kB / 0.494 GB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.608e-05/0.1225, allocations: 188.1 kB / 0.4942 GB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.339e-05/0.1226, allocations: 184.3 kB / 0.4943 GB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.1227, allocations: 307.7 kB / 0.4946 GB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.132e-05/0.1228, allocations: 194 kB / 0.4948 GB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.421e-05/0.1229, allocations: 184.2 kB / 0.495 GB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.733e-05/0.1229, allocations: 108.9 kB / 0.4951 GB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.123, allocations: 180.2 kB / 0.4953 GB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.1231, allocations: 109 kB / 0.4954 GB, free: 5.691 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.895e-05/0.1232, allocations: 133.2 kB / 0.4955 GB, free: 5.562 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1232, allocations: 0 / 0.4955 GB, free: 5.562 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.1234, allocations: 19.91 kB / 0.4955 GB, free: 5.543 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 9.444e-05/0.1235, allocations: 170.5 kB / 0.4957 GB, free: 5.363 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.54e-05/0.1235, allocations: 7.984 kB / 0.4957 GB, free: 5.355 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1236, allocations: 0 / 0.4957 GB, free: 5.355 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.126e-06/0.1236, allocations: 3.938 kB / 0.4957 GB, free: 5.352 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.1241, allocations: 0.4993 MB / 0.4962 GB, free: 4.852 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003671/0.1245, allocations: 272 kB / 0.4964 GB, free: 4.559 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.1247, allocations: 0.7 MB / 0.4971 GB, free: 3.832 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.166e-05/0.1248, allocations: 16.62 kB / 0.4971 GB, free: 3.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.162e-05/0.1248, allocations: 15.38 kB / 0.4972 GB, free: 3.801 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1248, allocations: 0 / 0.4972 GB, free: 3.801 MB / 366.1 MB Notification: Performance of Templates: time 0.003495/0.1283, allocations: 1.536 MB / 0.4987 GB, free: 2.289 MB / 366.1 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.makefile (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 & ./Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1)