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.09354/0.09354, allocations: 15.27 MB / 30.54 MB, free: 5.723 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.0008555/0.0008554, allocations: 110.9 kB / 35.57 MB, free: 1.133 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.001015/0.001015, allocations: 180.5 kB / 40.68 MB, free: 4.746 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.304/1.304, allocations: 223.3 MB / 268.9 MB, free: 2.035 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1172/0.1172, allocations: 23.4 MB / 347.7 MB, free: 6.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00052/0.0005202, allocations: 20.41 kB / 420.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2575, allocations: 60.47 MB / 480.7 MB, free: 36.43 MB / 350.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.01875/0.2763, allocations: 20.48 MB / 0.4894 GB, free: 16.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007506/0.2771, allocations: 478.8 kB / 0.4899 GB, free: 15.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.2772, allocations: 7.938 kB / 0.4899 GB, free: 15.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.269e-05/0.2773, allocations: 11.86 kB / 0.4899 GB, free: 15.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.251e-05/0.2774, allocations: 43.64 kB / 0.49 GB, free: 15.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.576e-05/0.2774, allocations: 11.98 kB / 0.49 GB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.2776, allocations: 107.3 kB / 0.4901 GB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.2777, allocations: 29.06 kB / 0.4901 GB, free: 15.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.952e-05/0.2777, allocations: 27.88 kB / 0.4901 GB, free: 15.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.24e-05/0.2778, allocations: 39.73 kB / 0.4902 GB, free: 15.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.2778, allocations: 4 kB / 0.4902 GB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/0.2778, allocations: 0 / 0.4902 GB, free: 15.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.2778, allocations: 15.88 kB / 0.4902 GB, free: 15.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.864e-05/0.2779, allocations: 73.44 kB / 0.4902 GB, free: 15.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.978e-05/0.278, allocations: 83.64 kB / 0.4903 GB, free: 15.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.278, allocations: 0 / 0.4903 GB, free: 15.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.278, allocations: 0 / 0.4903 GB, free: 15.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.278, allocations: 4 kB / 0.4903 GB, free: 15.14 MB / 350.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.0003991/0.2784, allocations: 383.1 kB / 0.4907 GB, free: 14.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2785, allocations: 11.97 kB / 0.4907 GB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.2785, allocations: 8.844 kB / 0.4907 GB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.2787, allocations: 215.9 kB / 0.4909 GB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.2787, allocations: 12.36 kB / 0.4909 GB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.2787, allocations: 8.375 kB / 0.4909 GB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.554e-05/0.2788, allocations: 54 kB / 0.491 GB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.2788, allocations: 0 / 0.491 GB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.2789, allocations: 8 kB / 0.491 GB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2789, allocations: 0 / 0.491 GB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.688e-05/0.2789, allocations: 27.88 kB / 0.491 GB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.2793, allocations: 487.1 kB / 0.4915 GB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.791e-05/0.2794, allocations: 165.1 kB / 0.4916 GB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.2794, allocations: 80.14 kB / 0.4917 GB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.2794, allocations: 75.28 kB / 0.4918 GB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.2794, allocations: 113.8 kB / 0.4919 GB, free: 13.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.123e-06/0.2794, allocations: 0 / 0.4919 GB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.516e-05/0.2795, allocations: 45.45 kB / 0.4919 GB, free: 13.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.2795, allocations: 130.6 kB / 0.4921 GB, free: 13.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.2797, allocations: 183.1 kB / 0.4922 GB, free: 12.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.2797, allocations: 25.7 kB / 0.4923 GB, free: 12.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.2798, allocations: 108 kB / 0.4924 GB, free: 12.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-06/0.2798, allocations: 7.984 kB / 0.4924 GB, free: 12.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.2798, allocations: 13.72 kB / 0.4924 GB, free: 12.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.375e-05/0.2798, allocations: 318.8 kB / 0.4927 GB, free: 12.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.2799, allocations: 8 kB / 0.4927 GB, free: 12.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.782e-06/0.2799, allocations: 0 / 0.4927 GB, free: 12.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.231e-05/0.2799, allocations: 8.859 kB / 0.4927 GB, free: 12.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2799, allocations: 3.938 kB / 0.4927 GB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.769e-05/0.28, allocations: 49.53 kB / 0.4928 GB, free: 12.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.28, allocations: 12.09 kB / 0.4928 GB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.28, allocations: 0 / 0.4928 GB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.28, allocations: 0 / 0.4928 GB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.732e-05/0.2801, allocations: 3.938 kB / 0.4928 GB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.2801, allocations: 0 / 0.4928 GB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.679e-05/0.2802, allocations: 4 kB / 0.4928 GB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.2802, allocations: 0 / 0.4928 GB, free: 12.39 MB / 350.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 5.821e-05/0.2802, allocations: 197 kB / 0.493 GB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.2803, allocations: 116.8 kB / 0.4931 GB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.2803, allocations: 121.5 kB / 0.4932 GB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/0.2803, allocations: 184.2 kB / 0.4934 GB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.507e-05/0.2804, allocations: 184.3 kB / 0.4936 GB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/0.2804, allocations: 184.2 kB / 0.4937 GB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.2805, allocations: 437.2 kB / 0.4941 GB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.2806, allocations: 113 kB / 0.4943 GB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.278e-05/0.2806, allocations: 101 kB / 0.4943 GB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.246e-05/0.2806, allocations: 184.2 kB / 0.4945 GB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.2806, allocations: 180.3 kB / 0.4947 GB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-05/0.2807, allocations: 188.1 kB / 0.4949 GB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.617e-05/0.2807, allocations: 180.3 kB / 0.495 GB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.548e-05/0.2808, allocations: 315.7 kB / 0.4953 GB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.2808, allocations: 190 kB / 0.4955 GB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.2809, allocations: 180.2 kB / 0.4957 GB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.968e-05/0.2809, allocations: 104.9 kB / 0.4958 GB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.281, allocations: 188.3 kB / 0.496 GB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.281, allocations: 104.9 kB / 0.4961 GB, free: 8.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.532e-05/0.2811, allocations: 137.2 kB / 0.4962 GB, free: 8.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2811, allocations: 0 / 0.4962 GB, free: 8.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.2813, allocations: 19.84 kB / 0.4962 GB, free: 8.633 MB / 350.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 7.81e-05/0.2814, allocations: 162.5 kB / 0.4964 GB, free: 8.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.986e-05/0.2815, allocations: 8 kB / 0.4964 GB, free: 8.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2815, allocations: 0 / 0.4964 GB, free: 8.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.2815, allocations: 4 kB / 0.4964 GB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005174/0.282, allocations: 0.5746 MB / 0.497 GB, free: 7.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.2823, allocations: 314.2 kB / 0.4973 GB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.956e-05/0.2824, allocations: 0.6965 MB / 0.4979 GB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.368e-05/0.2825, allocations: 12.62 kB / 0.498 GB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.864e-05/0.2825, allocations: 11.44 kB / 0.498 GB, free: 6.793 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2825, allocations: 3.938 kB / 0.498 GB, free: 6.789 MB / 350.1 MB Notification: Performance of Templates: time 0.00345/0.286, allocations: 1.464 MB / 0.4994 GB, free: 5.355 MB / 350.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)