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-master/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-master/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-master/package.mo): time 0.08585/0.08585, allocations: 15.29 MB / 30.4 MB, free: 4.371 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.0009954/0.0009956, allocations: 99.95 kB / 35.37 MB, free: 3.449 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.001164/0.001164, allocations: 197.1 kB / 40.46 MB, free: 7.543 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.302/1.302, allocations: 222.9 MB / 268.3 MB, free: 7.633 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1245/0.1245, allocations: 23.34 MB / 346 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 107.8 kB / 417.5 MB, free: 30.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09526/0.09703, allocations: 59.36 MB / 476.8 MB, free: 3.484 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.02619/0.1232, allocations: 20.83 MB / 497.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007842/0.124, allocations: 486.7 kB / 498.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1242, allocations: 11.94 kB / 498.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.1243, allocations: 15.86 kB / 498.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.662e-05/0.1244, allocations: 35.7 kB / 498.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.507e-05/0.1244, allocations: 11.98 kB / 498.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.1245, allocations: 103.3 kB / 498.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.994e-05/0.1246, allocations: 29.09 kB / 498.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.1247, allocations: 27.88 kB / 498.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.425e-05/0.1247, allocations: 39.72 kB / 498.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.1248, allocations: 8 kB / 498.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.645e-05/0.1248, allocations: 4 kB / 498.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.1248, allocations: 19.86 kB / 498.4 MB, free: 14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.1249, allocations: 39.75 kB / 498.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.854e-05/0.125, allocations: 91.59 kB / 498.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.125, allocations: 0 / 498.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.02e-07/0.125, allocations: 0 / 498.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.125, allocations: 0 / 498.6 MB, free: 13.87 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.0003771/0.1254, allocations: 406.9 kB / 499 MB, free: 13.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.1254, allocations: 12.59 kB / 499 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.1255, allocations: 8.844 kB / 499 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.1257, allocations: 219.9 kB / 499.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.1257, allocations: 4.375 kB / 499.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.1257, allocations: 4.375 kB / 499.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.1258, allocations: 58 kB / 499.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1259, allocations: 7.922 kB / 499.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.1259, allocations: 4 kB / 499.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1259, allocations: 0 / 499.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.98e-05/0.1259, allocations: 23.98 kB / 499.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.1264, allocations: 483.1 kB / 499.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.458e-05/0.1265, allocations: 173.1 kB / 499.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.1265, allocations: 80.14 kB / 0.4883 GB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.1265, allocations: 79.28 kB / 0.4884 GB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.1266, allocations: 105.8 kB / 0.4885 GB, free: 12.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1266, allocations: 0 / 0.4885 GB, free: 12.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.006e-05/0.1266, allocations: 45.64 kB / 0.4885 GB, free: 12.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.1267, allocations: 134.6 kB / 0.4886 GB, free: 11.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.1269, allocations: 183.1 kB / 0.4888 GB, free: 11.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.1269, allocations: 29.7 kB / 0.4889 GB, free: 11.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.127, allocations: 116 kB / 0.489 GB, free: 11.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.127, allocations: 0 / 0.489 GB, free: 11.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.127, allocations: 13.72 kB / 0.489 GB, free: 11.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1271, allocations: 322.8 kB / 0.4893 GB, free: 11.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.1271, allocations: 0 / 0.4893 GB, free: 11.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.055e-06/0.1271, allocations: 3.984 kB / 0.4893 GB, free: 11.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.448e-05/0.1272, allocations: 16.92 kB / 0.4893 GB, free: 11.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1272, allocations: 4 kB / 0.4893 GB, free: 11.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.901e-05/0.1273, allocations: 41.61 kB / 0.4893 GB, free: 11.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.1273, allocations: 7.938 kB / 0.4894 GB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1273, allocations: 0 / 0.4894 GB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-06/0.1273, allocations: 0 / 0.4894 GB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.324e-05/0.1274, allocations: 7.938 kB / 0.4894 GB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1274, allocations: 0 / 0.4894 GB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.831e-05/0.1274, allocations: 4.016 kB / 0.4894 GB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.1274, allocations: 7.875 kB / 0.4894 GB, free: 11.08 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.144e-05/0.1275, allocations: 197.1 kB / 0.4896 GB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-05/0.1276, allocations: 120.9 kB / 0.4897 GB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.22e-05/0.1276, allocations: 113.5 kB / 0.4898 GB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.828e-05/0.1277, allocations: 184.2 kB / 0.49 GB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.205e-05/0.1278, allocations: 180.3 kB / 0.4901 GB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.377e-05/0.1278, allocations: 184.2 kB / 0.4903 GB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.128, allocations: 433.2 kB / 0.4907 GB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-05/0.1281, allocations: 104.9 kB / 0.4908 GB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.1281, allocations: 101 kB / 0.4909 GB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.633e-05/0.1282, allocations: 184.2 kB / 0.4911 GB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/0.1282, allocations: 180.2 kB / 0.4913 GB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-05/0.1283, allocations: 188.2 kB / 0.4914 GB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.948e-05/0.1284, allocations: 180.2 kB / 0.4916 GB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.1285, allocations: 311.7 kB / 0.4919 GB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.1286, allocations: 197.8 kB / 0.4921 GB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.345e-05/0.1286, allocations: 184.3 kB / 0.4923 GB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.815e-05/0.1287, allocations: 108.9 kB / 0.4924 GB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.1288, allocations: 180.2 kB / 0.4926 GB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.1288, allocations: 101 kB / 0.4926 GB, free: 7.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.641e-05/0.1289, allocations: 141.2 kB / 0.4928 GB, free: 7.363 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1289, allocations: 0 / 0.4928 GB, free: 7.363 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.1292, allocations: 12 kB / 0.4928 GB, free: 7.352 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.0001078/0.1293, allocations: 178.5 kB / 0.493 GB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.074e-05/0.1293, allocations: 0 / 0.493 GB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1294, allocations: 4 kB / 0.493 GB, free: 7.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.1294, allocations: 0 / 0.493 GB, free: 7.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006106/0.13, allocations: 0.5771 MB / 0.4935 GB, free: 6.578 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.1304, allocations: 309.8 kB / 0.4938 GB, free: 6.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.1307, allocations: 0.6965 MB / 0.4945 GB, free: 5.527 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.376e-05/0.1307, allocations: 8.656 kB / 0.4945 GB, free: 5.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.1308, allocations: 11.44 kB / 0.4945 GB, free: 5.508 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1308, allocations: 4 kB / 0.4945 GB, free: 5.504 MB / 366.1 MB Notification: Performance of Templates: time 0.003649/0.1344, allocations: 1.471 MB / 0.496 GB, free: 4.074 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 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1)