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.07813/0.07813, allocations: 15.29 MB / 31.17 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.0009486/0.0009487, allocations: 109.1 kB / 36.14 MB, free: 3.352 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.001091/0.00109, allocations: 196.5 kB / 41.24 MB, free: 7.379 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.306/1.306, allocations: 222.9 MB / 269.1 MB, free: 7.605 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1246/0.1246, allocations: 23.36 MB / 346.7 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 107.8 kB / 418.3 MB, free: 30.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09016/0.09187, allocations: 59.37 MB / 477.7 MB, free: 3.348 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.02608/0.118, allocations: 20.84 MB / 498.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008124/0.1188, allocations: 482.8 kB / 499 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1189, allocations: 7.938 kB / 499 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.119, allocations: 15.84 kB / 499 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.094e-05/0.1191, allocations: 35.7 kB / 499.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.508e-05/0.1192, allocations: 8 kB / 499.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.1193, allocations: 119.2 kB / 499.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.435e-05/0.1194, allocations: 29.09 kB / 499.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.048e-05/0.1195, allocations: 35.86 kB / 499.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.54e-05/0.1195, allocations: 39.73 kB / 499.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.1196, allocations: 4 kB / 499.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.437e-05/0.1196, allocations: 8 kB / 499.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.1196, allocations: 15.86 kB / 499.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.606e-05/0.1197, allocations: 51.73 kB / 499.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 8.97e-05/0.1198, allocations: 55.88 kB / 499.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1198, allocations: 4 kB / 499.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1198, allocations: 0 / 499.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1198, allocations: 0 / 499.4 MB, free: 13.74 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.0004263/0.1202, allocations: 410.9 kB / 499.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.1203, allocations: 8.031 kB / 499.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.1203, allocations: 8.844 kB / 499.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.1205, allocations: 215.9 kB / 0.4883 GB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.1205, allocations: 4.375 kB / 0.4883 GB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.1205, allocations: 4.375 kB / 0.4883 GB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.1206, allocations: 69.92 kB / 0.4884 GB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1206, allocations: 0 / 0.4884 GB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1207, allocations: 4 kB / 0.4884 GB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1207, allocations: 0 / 0.4884 GB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.643e-05/0.1207, allocations: 23.94 kB / 0.4884 GB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.1212, allocations: 487.1 kB / 0.4889 GB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.922e-05/0.1212, allocations: 169.1 kB / 0.489 GB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.1213, allocations: 84.12 kB / 0.4891 GB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1213, allocations: 75.28 kB / 0.4892 GB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.1213, allocations: 105.8 kB / 0.4893 GB, free: 11.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1214, allocations: 4 kB / 0.4893 GB, free: 11.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 6.978e-05/0.1214, allocations: 49.58 kB / 0.4894 GB, free: 11.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.1215, allocations: 130.6 kB / 0.4895 GB, free: 11.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.1217, allocations: 183.7 kB / 0.4897 GB, free: 11.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.1217, allocations: 25.7 kB / 0.4897 GB, free: 11.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.1217, allocations: 116 kB / 0.4898 GB, free: 11.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.1217, allocations: 0 / 0.4898 GB, free: 11.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.1218, allocations: 13.72 kB / 0.4898 GB, free: 11.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.1219, allocations: 326.8 kB / 0.4901 GB, free: 11.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.111e-05/0.1219, allocations: 0 / 0.4901 GB, free: 11.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-06/0.1219, allocations: 0 / 0.4901 GB, free: 11.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.815e-05/0.1219, allocations: 12.86 kB / 0.4901 GB, free: 11.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1219, allocations: 0 / 0.4901 GB, free: 11.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001062/0.1221, allocations: 45.55 kB / 0.4902 GB, free: 10.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1221, allocations: 11.92 kB / 0.4902 GB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1221, allocations: 0 / 0.4902 GB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.1221, allocations: 4.094 kB / 0.4902 GB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.288e-05/0.1221, allocations: 7.938 kB / 0.4902 GB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1222, allocations: 112 / 0.4902 GB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.775e-05/0.1222, allocations: 11.84 kB / 0.4902 GB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.1222, allocations: 0 / 0.4902 GB, free: 10.95 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.057e-05/0.1223, allocations: 193.1 kB / 0.4904 GB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-05/0.1224, allocations: 112.9 kB / 0.4905 GB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.653e-05/0.1224, allocations: 117.5 kB / 0.4906 GB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.848e-05/0.1225, allocations: 188.2 kB / 0.4908 GB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-05/0.1225, allocations: 180.2 kB / 0.491 GB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.544e-05/0.1226, allocations: 176.3 kB / 0.4911 GB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.1228, allocations: 441.2 kB / 0.4915 GB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.072e-05/0.1228, allocations: 104.9 kB / 0.4916 GB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.516e-05/0.1229, allocations: 105 kB / 0.4917 GB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-05/0.1229, allocations: 184.2 kB / 0.4919 GB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/0.123, allocations: 176.3 kB / 0.4921 GB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-05/0.123, allocations: 184.2 kB / 0.4923 GB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.832e-05/0.1231, allocations: 184.2 kB / 0.4924 GB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.1232, allocations: 315.7 kB / 0.4927 GB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.1233, allocations: 201.9 kB / 0.4929 GB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.498e-05/0.1233, allocations: 180.3 kB / 0.4931 GB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.972e-05/0.1234, allocations: 108.9 kB / 0.4932 GB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.1235, allocations: 176.3 kB / 0.4934 GB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.1235, allocations: 108.9 kB / 0.4935 GB, free: 7.363 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.044e-05/0.1236, allocations: 141.2 kB / 0.4936 GB, free: 7.227 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1236, allocations: 0 / 0.4936 GB, free: 7.227 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.1238, allocations: 12 kB / 0.4936 GB, free: 7.215 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.548e-05/0.1239, allocations: 170.5 kB / 0.4938 GB, free: 7.035 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.296e-05/0.124, allocations: 0 / 0.4938 GB, free: 7.035 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.124, allocations: 4 kB / 0.4938 GB, free: 7.031 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.124, allocations: 4.062 kB / 0.4938 GB, free: 7.027 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.1245, allocations: 0.4956 MB / 0.4943 GB, free: 6.527 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.1249, allocations: 325.7 kB / 0.4946 GB, free: 6.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.1251, allocations: 0.7039 MB / 0.4953 GB, free: 5.445 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.139e-05/0.1251, allocations: 11.44 kB / 0.4953 GB, free: 5.434 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1251, allocations: 0 / 0.4953 GB, free: 5.434 MB / 366.1 MB Notification: Performance of Templates: time 0.00248/0.1276, allocations: 1.456 MB / 0.4967 GB, free: 3.988 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)